1

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?

orestis
  • 932
  • 2
  • 9
  • 23

1 Answers1

1

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.

Egal
  • 1,374
  • 12
  • 22