Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OAuth2 endpoint redirects to localhost instead of public IP

See original GitHub issue

Generic OAuth2 filter worked on my localhost dev environment, but seems to have a small bug when deployed to a test server with proper domain names.

I have set up Nginx reverse proxies for both Para and Scoold, which seem to work fine. Except for the oauth2_auth endpoint which redirects to localhost instead of the expected public domain and makes the authentication flow fail. ( redirect looking like this: http://localhost:8040/signin/success?jwt=<token> instead of<token> )

Scoold’s application.conf has both URL’s set up correctly:

para.host_url = ""
para.endpoint = ""

Am I missing something in Para’s application.conf?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

wleevcommented, Sep 20, 2018

Confirmed working.

albogdanocommented, Sep 21, 2018

Great! I’m closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can a public IP address be used as Google OAuth redirect URI?
I'm trying to set a web service that needs the user's Google Latitude info, so I'm using Google OAuth to get the user...
Read more >
Using OAuth 2.0 for Web Server Applications | Authorization
The redirect URIs are the endpoints to which the OAuth 2.0 server can send ... If your public application uses scopes that permit...
Read more >
Change redirect URI from localhost to #594 - GitHub
Specifying a redirect URI with the loopback IP literal rather than localhost avoids inadvertently listening on network interfaces other than the ...
Read more >
How to setup HTTPS for localhost OAuth 2.0 web client testing ...
This guide explains how to setup HTTPS for convenient testing and development of OAuth 2.0 web clients (and OpenID relying parties) on a...
Read more >
Redirect URLs - OAuth 2.0 Simplified
Because the redirect URL will contain sensitive information, it is critical that the service doesn't redirect the user to arbitrary locations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found