Skip to content

Commit

Permalink
keycloak 18.0.9 still requires deprecated /auth prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Nov 28, 2023
1 parent ff8fbfe commit 039fccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/generate-kuadrant-auth-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ components:
securitySchemes:
openIdConnect:
type: openIdConnect
openIdConnectUrl: https://${KEYCLOAK_PUBLIC_DOMAIN}/realms/petstore
openIdConnectUrl: https://${KEYCLOAK_PUBLIC_DOMAIN}/auth/realms/petstore
EOF
```
</details>
Expand Down Expand Up @@ -234,7 +234,7 @@ export ACCESS_TOKEN=$(curl -k -H "Content-Type: application/x-www-form-urlencode
-d 'client_id=petstore' \
-d 'scope=openid' \
-d 'username=bob' \
-d 'password=p' "https://${KEYCLOAK_PUBLIC_DOMAIN}/realms/petstore/protocol/openid-connect/token" | jq -r '.access_token')
-d 'password=p' "https://${KEYCLOAK_PUBLIC_DOMAIN}/auth/realms/petstore/protocol/openid-connect/token" | jq -r '.access_token')
```
> Replace `${KEYCLOAK_PUBLIC_DOMAIN}` with your SSO instance domain
Expand Down

0 comments on commit 039fccc

Please sign in to comment.