Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve oauth glue #915

Merged
merged 1 commit into from
Feb 4, 2024
Merged

Improve oauth glue #915

merged 1 commit into from
Feb 4, 2024

Commits on Feb 4, 2024

  1. Improve oauth glue

    Some providers e.g. Azure require the redirect URL to match exactly - including query params etc. To support that
    we now store any 'next' value in the session (fs_oauth_next).
    
    To enable better debugging a class that can be subclassed for each provider - the auth_response_error() method can be subclassed for better debugging/UX.
    
    Convert our Github and Google pre-defined providers to the new class method.
    
    Add support for Azure in the Oauth example code.
    
    Change OAUTH_HANDSHAKE_ERROR to include info from authlib.
    
    closes #912
    jwag956 committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    4d42bae View commit details
    Browse the repository at this point in the history