Skip to content

Expose scope in CreatedTokens using TokenStorage.save #107

@mamadOuologuem

Description

@mamadOuologuem

Feature Request

Expose scope in CreatedTokens using TokenStorage.save

Description

The scope field returned in TokenServerResponse isn’t included in the CreatedTokens type that TokenStorage.save uses.
This makes it impossible to persist or read the token’s scopes after creation.

Expected Behavior

CreatedTokens should include the scope property from the server response.

Actual Behavior

The scope is present in TokenServerResponse, but missing from CreatedTokens, so it’s not accessible via TokenStorage.

Proposed Solution

Add the scope field to the CreatedTokens interface in api/apis.ts

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