How to use okta token to exchange aws cognito token?

We have an application which uses aws cognito user pool and user accesses the resource with cognito token generated after login. Now we want to add okta for federated login and how to generate cognito token with okta token. I think there should be some configuration in aws user pool to hookup with okta oidc app. and is this the right path? Thanks!

Hi @leonking, I believe this is what you are looking for Set Up Okta as an OIDC identity provider in an Amazon Cognito user pool. Please take a look :slight_smile:

1 Like

Thanks a lot! I made it work but how can I do this from JS code etc.?

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.