I currently have a cognito pool set up with an okta app (as a application type of web so that i can get a client secret) as a federated IDP .
I wanted to leverage the okta sign in widget instead of relying on cognito’s hosted ui. I setup a second okta app that is configured for SPA and does not have a client secret.
Is it possible to use the SPA’s oauth token to query the the web okta app to get a cognito JWT