Closed TurnrDev closed 1 year ago
Thanks
Amazing, I wasn't sure if this was going to be accepted or not!
Would you accept PRs that add support for more OIDC stuff? I unfortunately noticed this library doesn't supply any framework or even documentation on how to implement /.well-known/openid-configuration or JWKS endpoints.
Thanks @TurnrDev, this caught me out migrating old code based on Authlib 0.12 with custom create_oauth_request
Until this is released I am using a modified AuthorizationServer
from authlib.oauth2 import OAuth2Request
from authlib.integrations.flask_oauth2 import (
AuthorizationServer as _AuthorizationServer,
)
class AuthorizationServer(_AuthorizationServer):
def create_oauth2_request(self, request):
if isinstance(request, OAuth2Request):
return request
return super().create_oauth2_request(request)
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)