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

allow synchronizing user status from OAuth2 login providers #31572

Merged
merged 7 commits into from
Jul 16, 2024

Commits on Jul 5, 2024

  1. allow synchronizing user status from OAuth2 login providers

    This leverages the existing `sync_external_users` cron job to
    synchronize the IsActive flag on users who use an OAuth2 provider set
    to synchronize. This synchronization is done
    by checking for expired access tokens, and using the stored refresh
    token to request a new access token. If the response back from the
    OAuth2 provider is the `invalid_grant` error code, the user is marked
    as inactive. However, the user is able to reactivate their account by
    logging in the web browser through their OAuth flow.
    
    Also changed to support this is that a linked `ExternalLoginUser` is
    always created upon a login or signup via OAuth2.
    bohde committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b8411f4 View commit details
    Browse the repository at this point in the history
  2. fix lint

    bohde committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    63add1d View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    0d65525 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. remove extra Limit & Start

    bohde committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    0327ff2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e91032 View commit details
    Browse the repository at this point in the history
  3. use passed in context

    bohde committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    2b71ec7 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    302e9c8 View commit details
    Browse the repository at this point in the history