Skip to content

Commit

Permalink
Merge pull request quarkusio#39797 from michalvavrik/feature/fix-typo…
Browse files Browse the repository at this point in the history
…-in-oidc-tenant-resolution

Docs: fix typo in OIDC tenant resolution by configuration
  • Loading branch information
sberyozkin authored Mar 30, 2024
2 parents b3ede8e + 4ff04bb commit eb56608
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,8 @@ Here is how you can select the `hr` tenant for the `sayHello` endpoint of the `H
[source,properties]
----
quarkus.oidc.hr.tenant-paths=/api/hello <1>
quarkus.oidc.google.tenant-paths=/api/* <2>
quarkus.oidc.google.tenant-paths=/*/hello <3>
quarkus.oidc.a.tenant-paths=/api/* <2>
quarkus.oidc.b.tenant-paths=/*/hello <3>
----
<1> Same path-matching rules apply as for the `quarkus.http.auth.permission.authenticated.paths=/api/hello` configuration property from the previous example.
<2> The wildcard placed at the end of the path represents any number of path segments. However the path is less specific than the `/api/hello`, therefore the `hr` tenant will be used to secure the `sayHello` endpoint.
Expand Down

0 comments on commit eb56608

Please sign in to comment.