Skip to content

Google Calendar redirect_uri_mismatch behind reverse proxy #168

Answered by krumware
jeremyj asked this question in General
Discussion options

You must be logged in to vote

This seems environmental, but I'll do my best to help.
Are you doing edge termination of SSL?
Did you add an SSL endpoint into your acceptable callback URLs?
For example, this is how my generated GOOGLE_API_CREDENTIALS look

...
,"redirect_uris":["http://localhost:3000/api/integrations/googlecalendar/callback","https://cal.krum.io/api/integrations/googlecalendar/callback"],"javascript_origins":["https://cal.krum.io","http://localhost:3000"]}

just to clarify, it is configured that way for my local dev, as well as a deployed environment behind an nginx load balancer with SSL termination at nginx (also in kubernetes)

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@jeremyj
Comment options

@krumware
Comment options

@jeremyj
Comment options

@krumware
Comment options

@jeremyj
Comment options

Answer selected by emrysal
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants