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
질문됨 한 달 전125회 조회
1개 답변
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
지원 엔지니어
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠