Skip to content

scp claim is deprecated, replaced with scope #14

@jbasney

Description

@jbasney

https://github.com/scitokens/scitokens.github.io/blob/master/technical_docs/Claims.md has examples like

"scp": "read:/store write:/store/user/bbockelm"

but https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-03#section-4.2 shows the scp claim is a JSON list like

"scp":["email","address","profile","phone"]

While the standard OAuth scope claim is a single string with a space separator, it seems the scp claim is defined differently. We should use the scope and scp claims consistent with the IETF specs.

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