Slide 37
Slide 37 text
client = oauth.register(
'example',
client_id='Example Client ID',
client_secret='Example Client Secret',
access_token_url='https://example.com/oauth/access_token',
authorize_url='https://example.com/oauth/authorize',
api_base_url=‘https://api.example.com/',
code_challenge_method='S256',
)
Only available in Authlib
authorization_server\
.register_grant(
AuthorizationCodeGrant,
[CodeChallenge(required=True)]
)