I Integrated Cognito Userpool with Federated Identity [Okta - As Secure Web Authentication]. The flows works fine with Authorization Code Flow without PKCE (Using Amplify with Angular).
Created a similar app as SPA(in Okta), to enable PKCE and integrated with Cognito federated identities. When we redirect to Hosted UI, the challenge is getting passed to hosted UI in the URL.
But after it redirects to okta, it is throwing this error.
pkce code challenge is required when the token endpoint authentication method is 'none'
Is there any additional configuration required in Cognito to pass code-challenge to Okta.
I am using Authorization Code flow in Cognito and Okta.