operatorfabric-core icon indicating copy to clipboard operation
operatorfabric-core copied to clipboard

Test implicit and code auth via cypress

Open freddidierRTE opened this issue 3 years ago • 0 comments

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",

freddidierRTE avatar Jun 29 '22 06:06 freddidierRTE