-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Currently, requests to the /v1/oauth2/authorize endpoint via the Auth SDK do not include a state parameter. This omission poses a potential security risk and reduces our ability to verify that the redirect response originated from the client’s original authorization request.
Proposed Change
Update the Auth SDK to handle state generation, inclusion, and validation automatically. This includes creating a new error as well.
Implementation Notes
- Some end-to-end tests may break because of this change, and we should add some tests to ensure that it does verify the
statefield. - Keep the
statevalue concise, around 10–12 characters is sufficient.
References
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers