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
已提問 1 個月前檢視次數 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
支援工程師
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南