Jeremy J. Rossi
09/30/2022, 5:07 PMError 400: redirect_uri_mismatch
redirect_uri=http://<redacted>/api/integrations/googlecalendar/callback
Note the http instead of https in the URI
What I see from sniffing the traffic is that as soon the broswer calls GET /api/auth/session
it receives a Set-Cookie
response header with the correct value of next-auth.callback-url=https://<redacted>
.
But when I go to add the calendar integration and the browser calls POST /api/auth/callback/credentials?
the app answers with an incorrect value Set-Cookie: next-auth.callback-url=http://<redacted>
.
Any ideas or suggestions on how to get it working?
Thanks