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
posta un mese fa125 visualizzazioni
1 Risposta
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
TECNICO DI SUPPORTO
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande