Skip to content

Resync OAuth profile information when users log in #986

Open
@JohnnyMorganz

Description

This sort of leads off from #976 (and my comment there #976 (comment)), but currently OAuth profile information is only retrieved on first sign up when using fider, but never again.

A user may change their name or email through the OAuth provider (in our case, custom SSO), and this then becomes out of sync in the fider instance.

This information is already available to fider (as we provide a Profile API url when setting up OAuth), so I imagine this can be done by making a request to the API on a new sign in, retrieving the relevant information, and automatically patching the current user information with this.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions