Skip to content

Conversation

@TurnrDev
Copy link
Contributor

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No - rather, fixes one. Explaination here

  • You consent that the copyright of your pull request source code belongs to Authlib's author.

TurnrDev referenced this pull request Jun 27, 2023
- redesign OAuth2Request
- HttpRequest to JsonRequest
@lepture lepture merged commit e228702 into authlib:master Jun 28, 2023
@lepture
Copy link
Member

lepture commented Jun 28, 2023

Thanks

@TurnrDev
Copy link
Contributor Author

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.

@TurnrDev TurnrDev deleted the patch-1 branch June 28, 2023 07:56
@cas--
Copy link

cas-- commented Jul 22, 2023

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)

@azmeuk
Copy link
Member

azmeuk commented Apr 16, 2025

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.

Hi @TurnrDev
Better late than never. I would gladly review your PRs if you want to contribute to Authlib :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants