Replies: 2 comments 1 reply
-
I'm trying to do this too! Have you made any progress @enesse? Sorry this isn't an "answer" per se, but I didn't see any other options. I've got a Cognito App and I've configured a web client, so I belive a client secret is not needed. I can authenticate when I pass this as the config in [...nextAuth.js]
but if I remove the clientSecret, I get an error
Very frustrating |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @tiyberius , yes I got it working tweeking the settings å bit. Take a look: #4707 Hope this works for you as well! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to use the Next Auth Cognito provider for a Cognito app client that doesn't have a client secret set? According to the Cognito documentation "If the client was issued a secret, the client must pass its client_id and client_secret in the authorization header through Basic HTTP authorization" , https://docs.aws.amazon.com/cognito/latest/developerguide/token-endpoint.html
We're attempting to migrate a set of websites that has to use a set existing Cognito app clients that were created without a client secret..
Beta Was this translation helpful? Give feedback.
All reactions