Skip to content

[Feature Request] Progressive authorisation #366

Description

@obfuscatedgenerated

I have an activity which by default requires very minimal scopes. However, I have an optional feature which allows users to view the leaderboards of servers they are in. I tried to use a prompt to tell them we're about to ask for the guild listing scope and fire a new .authorize when they confirm, however I get the error Already authenticated.

I feel as if asking for this scope upfront without a clear reason adds friction for new users, as they wonder why my puzzle game wants to look at all their servers, but it seems this progressive consent based auth doesn't work (unless I'm missing something!)

Not sure if this is a case of Discord's OAuth flow needing to support it entirely, or just a limitation of the embedded SDK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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