Closed yokonsan closed 6 months ago
If your provider is a one that could be used by other people/organisations than i would suggest to create a pull request where you add a provider in the flask_appbuilder/security/manager.py file under the get_oauth_user_info()
method.
If you are using a custom provider that is used only by you the cleanest solution would be to extend the security manager and use that when you initialise the app.
Thank you. I've rewritten the OAuth2 related methods of the Authlib library and recompiled it.
Environment
Flask-Appbuilder version: 4.4.1
Describe the expected results
If a third party's OAuth2 implementation does not comply with standards, such as using
app_id
instead ofclient_id
for the redirection parameter, and theaccess_token
field also deviates from the norm, is there a mature solution available?