Skip to content

Commit 2da9569

Browse files
authored
Merge pull request #9431 from sberyozkin/minor_oidc_doc_updates
Minor OIDC doc updates
2 parents 6c01a4d + 5f69e17 commit 2da9569

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/src/main/asciidoc/security-openid-connect-web-authentication.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ The user will be returned to the endpoint post logout page once the logout has b
173173

174174
If the `quarkus.oidc.logout.post-logout-path` is set then a `q_post_logout` cookie will be created and a matching `state` query parameter will be added to the logout redirect URI and the OpenID Connect Provider will return this `state` once the logout has been completed. It is recommended for the Quarkus `web-app` applications to check that a `state` query parameter matches the value of the `q_post_logout` cookie which can be done for example in a JAX-RS filter.
175175

176+
Note that a cookie name will vary when using link:security-openid-connect-multitenancy[OpenID Connect Multi-Tenancy]. For example, it will be named `q_post_logout_tenant_1` for a tenant with a `tenant_1` id, etc.
177+
176178
== Accessing ID and Access Tokens
177179

178180
ID Token is always a JWT token. One can access ID Token claims by injecting `JsonWebToken` with an `IdToken` qualifier:

extensions/oidc/runtime/src/main/java/io/quarkus/oidc/OidcTenantConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class OidcTenantConfig {
4040

4141
/**
4242
* The base URL of the OpenID Connect (OIDC) server, for example, 'https://host:port/auth'.
43-
* All the other OIDC server page and service URLs are derived from this URL.
43+
* OIDC discovery endpoint will be called by appending a '/.well-known/openid-configuration' path segment to this URL.
4444
* Note if you work with Keycloak OIDC server, make sure the base URL is in the following format:
4545
* 'https://host:port/auth/realms/{realm}' where '{realm}' has to be replaced by the name of the Keycloak realm.
4646
*/

0 commit comments

Comments
 (0)