Closed arminus closed 1 year ago
Hey @arminus unfortunately we abandoned developing this when the Keycloak API stability got worse and worse. The time we stopped has been with v15, so I can only confirm this package is working with v15. Your issue is most likely related to another breaking change.
We're open to Pull Requests, if you want to provide one.
Ok, thanks for the quick response. We'll have a look into the code then.
Actually, the suggestion in https://github.com/code-specialist/fastapi-keycloak/issues/40#issuecomment-1189885336 gets me past that issue so I'll close this.
I'm trying to set this up for a FastAPI which should authenticate against an existing Keycloak 17.0.1 server which I've customized according to https://fastapi-keycloak.code-specialist.com/keycloak_configuration/
FastAPI 0.95.0, fastapi-keycloak latest
During startup of the FastAPI server I get this stacktrace:
server_url is set to
https://<server>:8443/realms/<realm>/protocol/openid-connect/auth
I see no option to configure the tokenUrl, with our keycloak server we configure as
https://<server>:8443/realms/<realm>/protocol/openid-connect/token
for other clients.(I've also used the suggestion in #60 to avoid issues with the admin_cli which I don't need in that FastAPI server)