AWS Cognito OAuth2 access the STATE or SCOPE parameter by some Lambda Trigger

634 Views Asked by At

When a User is accessing my API and they authenticate through Cognito is it possible to access the STATE of the OAUTH2 AUTH request somehow in one of the lambda triggers?

1

There are 1 best solutions below

0
Egal On

Unfortunately as per the documentation there is no way to access the state parameter in a Cognito trigger. You can however access it in your OAuth2 callback URL, it's passed as a query parameter.