You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a strider instance running in a docker container behind a Nginx server.
Strider runs on port 3000 and Nginx acts as proxy serving strider via https.
Unfortunately, I only get
500 AuthorizationError: The redirect_uri MUST match the registered callback URL for this application.
errors when I try to connect strider to github. It would be nice if I could see what the redirect_url actually is. Any hints on how to debug this?
BTW:
My environment variables are set similar to the following variables:
I facepalmed a little bit when I found out what the problem was.
You must never use quotes around the value of the SERVER_NAME variable.
Strider just concats the value of this variable with auth/github/callback. So I ended up
with a redirect_uri of: 'https://foo'/auth/github/callback instead of https://foo/auth/github/callback.
I am not sure whether you can consider this behavior a defect (in the end it was my own fault). However, I think it might be sensible to display such basic information somewhere in strider. Maybe a small info section next to the Setup Github button?
Hi,
I have a strider instance running in a docker container behind a Nginx server.
Strider runs on port 3000 and Nginx acts as proxy serving strider via https.
Unfortunately, I only get
errors when I try to connect strider to github. It would be nice if I could see what the redirect_url actually is. Any hints on how to debug this?
BTW:
My environment variables are set similar to the following variables:
My authorization callback url is (in the github app):
https://foo/auth/github/callback
(foo is just the hostname without a port)
The text was updated successfully, but these errors were encountered: