AWS Cognito Dynamic Query Parameter Values for callback url

0

Hello,

I am using AWs Cognito user pool authentication to authenticate Gitbook document space. Gitbook need jwt_token string parameter in callback url. Could you please help me with detailed step how I could add jwt_token in my callback url dynamically.

Note: Gitbook provide Private key to be used while creating jwt_token.

Could you please help me to achieve this solution.

Thanks and Regards,

Abhijit Dhuri

Abhijit
asked a month ago117 views
1 Answer
0

Hello,

From the question I understand that you would like to know if it is possible to dynamically pass a value in the callback url for Cognito.

Currently it is not natively possible to pass a dynamic value in the callback url. You can pass multiple different values as callback urls with a maximum amount of 100. If you simply need the id_token/access_token in the callback you can use implicit grant rather than code grant I am attaching the following documentation that goes over the types of grants here [1].

I hope you have a great rest of your day!

References [1] https://docs.aws.amazon.com/cognito/latest/developerguide/federation-endpoints-oauth-grants.html

AWS
SUPPORT ENGINEER
answered 16 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions