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
preguntada hace un mes125 visualizaciones
1 Respuesta
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
INGENIERO DE SOPORTE
respondido hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas