operatorfabric-core
operatorfabric-core copied to clipboard
Test implicit and code auth via cypress
To do that configure the access to keycloak via nginx
in web-ui
"oauth2": {
"client-id": "opfab-client",
"flow": {
"delegate-url": "http://localhost/auth/realms/dev",
"mode": "IMPLICIT",
"provider": "Opfab Keycloak"
}
},
"provider-realm": "dev",
"provider-url": "http://localhost"
instead of :
"oauth2": {
"client-id": "opfab-client",
"flow": {
"delegate-url": "http://localhost:89/auth/realms/dev/protocol/openid-connect/auth?response_type=code&client_id=opfab-client",
"mode": "PASSWORD",
"provider": "Opfab Keycloak"
}
},
"provider-realm": "dev",
"provider-url": "http://localhost:89",