Skip to content

[OAuth2] Add support for passing state to Assent #1018

@mike1o1

Description

@mike1o1

Currently, we can use the authorization_params to pass parameters to Assent, such as scope or access_type. Previously, we could also pass in state, and Assent would either use it directly or generate it for us if passed in.

In Assent 3.0 however, passing in State has been deprecated.

It would be great if we could perhaps have another option in the OAuth2 configuration to provide state.

In addition, it would be nice if we could find a way to get that state and somehow pass it to the actions opts - maybe in the context?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions