Skip to content

Prompt for OAuth2 consent on every auth flow #439

@ChrisLovering

Description

@ChrisLovering

Description

This would prompt the user to re-consent to sharing info vvery time a they go through the OAuth2 flow.

This also gives them a chance to swap the user that they are logging into Discord with.

Justification

Currently Discord will cache the user you have logged into for forms, meaning if you log out by deleting your token in local storage, the next time you login Discord will automatically login with the same account.

This causes an issue, especially for admins, if you have logged in with an alt and now want to log in with an admin account.

Of course a real fix for this would be to allow users to full logout and/or have an admin panel, but this solution at least helps.

Implementation

Add &prompt=consent to the oauth 2 auth url.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions