You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KeyCloak is an open-source identity and access management solution that provides features like single sign-on (SSO), social login, and user management, making it a popular choice for securing applications. This provider has tested defaults for KeyCloak to offer seamless OpenID Connect (OIDC) authentication with minimal necessary configuration.
18
18
19
-
Additional parameters to be used in additionalAuthParameters,
20
-
additionalTokenParameters or additionalLogoutParameters:
19
+
## Example Configurations
21
20
22
-
| Option | Type | Default | Description |
23
-
|---|---|---|---|
24
-
| realm |`string`| - | Optional. This parameter allows to slightly customize the login flow on the Keycloak server side. For example, enforce displaying the login screen in case of value login. |
25
-
| realm |`string`| - | Optional. Used to pre-fill the username/email field on the login form. |
26
-
| realm |`string`| - | Optional. Used to tell Keycloak to skip showing the login page and automatically redirect to the specified identity provider instead. |
Never store sensitive values like your client secret in your Nuxt config. Our recommendation is to inject at least client id and client secret via. environment variables.
23
+
::
28
24
29
-
For more information on these parameters, check the [KeyCloak documentation](https://www.keycloak.org/docs/latest/securing_apps/#methods).
25
+
### Minimal
30
26
31
-
For Keycloak you have to provide at least the `baseUrl`, `clientId` and `clientSecret` properties. The `baseUrl` is used to dynamically create the `authorizationUrl`, `tokenUrl`, `logoutUrl` and `userInfoUrl`.
32
-
Please include the realm you want to use in the `baseUrl` (e.g. `https://<keycloak-url>/realms/<realm>`).
33
-
If you don't want to use the post logout redirect feature of key cloak, set `logoutUrl` to `undefined` or `''`.
34
-
Also remember to enable `Client authentication` to be able to get a client secret.
Never store sensitive values like your client secret in your Nuxt config. Our recommendation is to inject at least client id and client secret via. environment variables.
39
+
The to redirect to a specific url after logout, use the `logoutRedirectUri` configuration.
40
+
You have to specifically allow a redirect uri, if you want your application to redirect to there after logout:
Additional parameters to be used in additionalAuthParameters, additionalTokenParameters or additionalLogoutParameters:
75
+
76
+
| Option | Type | Default | Description |
77
+
|---|---|---|---|
78
+
| realm |`string`| - | Optional. This parameter allows to slightly customize the login flow on the KeyCloak server side. For example, enforce displaying the login screen in case of value login. |
79
+
| realm |`string`| - | Optional. Used to pre-fill the username/email field on the login form. |
80
+
| realm |`string`| - | Optional. Used to tell KeyCloak to skip showing the login page and automatically redirect to the specified identity provider instead. |
For more information on these parameters, check the [KeyCloak documentation](https://www.keycloak.org/docs/latest/securing_apps/#methods).
84
+
85
+
For KeyCloak you have to provide at least the `baseUrl`, `clientId` and `clientSecret` properties. The `baseUrl` is used to dynamically create the `authorizationUrl`, `tokenUrl`, `logoutUrl` and `userInfoUrl`.
86
+
Please include the realm you want to use in the `baseUrl` (e.g. `https://<keycloak-url>/realms/<realm>`).
87
+
If you don't want to use the post logout redirect feature of key cloak, set `logoutUrl` to `undefined` or `''`.
88
+
Also remember to enable `Client authentication` to be able to get a client secret.
0 commit comments