code-specialist / fastapi-keycloak

Keycloak integration for Python FastAPI
https://fastapi-keycloak.code-specialist.com/
Apache License 2.0
192 stars 49 forks source link

Add OIDC scope #108

Closed odnobit closed 7 months ago

odnobit commented 7 months ago

Add OpenID Connect scope Details: https://auth0.com/docs/get-started/apis/scopes/openid-connect-scopes

I removed my previous hardcoded value and add it as the argument Also added new id_token field to the tests

alexbarcelo commented 7 months ago

Oh, yeah, that's much better than the previous hardcoded values. But I could not recall if those hardcoded values were the canonical ones or they were simply sensible defaults.