The Wayback Machine - https://web.archive.org/web/20201008145640/https://github.com/icodebetter/icodebetter/issues/31
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth.. Oops!, something went wrong #31

Open
Jerinajay opened this issue Aug 19, 2020 · 0 comments
Open

Oauth.. Oops!, something went wrong #31

Jerinajay opened this issue Aug 19, 2020 · 0 comments

Comments

@Jerinajay
Copy link

@Jerinajay Jerinajay commented Aug 19, 2020

I tried to run icodebetter docker setup in cloud VM (AWS).. I am getting Oops!, something went wrong error. If i run the same setup in my local machine it works fine. Is there any document that i can setup it in cloud VM
the issue is with the Oauth redirect URL mismatch (callback URL)

for example, if i run the icodebetter in a AWS VM the redirect URL generated is below ( redirect_uri 0.0.0.0 will be changed to 12.12.34.54(VM public IP) or example.com(domain name))
https://iwb.auth0.com/authorize?redirect_uri=http://0.0.0.0:8080/auth/callback&client_id=eucJR6BM7WzoG336tT5MYCew6YpxJMyv&audience=https%3A%2F%2Fiwb.auth0.com%2Fuserinfo&scope=openid%20profile%20email&response_type=code&state=EHhp4SYRLzU3pWaZa3tcs3dQguvQpDvOCHE0Sj5tpmM

in this above case facing issue with oauth

if the redirect URL is localhost (In Local Machine).. This works perfectly
https://iwb.auth0.com/authorize?redirect_uri=http://localhost:8080/auth/callback&client_id=eucJR6BM7WzoG336tT5MYCew6YpxJMyv&audience=https%3A%2F%2Fiwb.auth0.com%2Fuserinfo&scope=openid%20profile%20email&response_type=code&state=EHhp4SYRLzU3pWaZa3tcs3dQguvQpDvOCHE0Sj5tpmM

so assist me if there anything i could do to deploy icodebetter In VM

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.