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

Fix oauth discovery #555

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

CollinsSpencer
Copy link
Contributor

The discovery endpoint includes port 8888 in the URLs.

https://server4.beyondallreason.info/.well-known/oauth-authorization-server

Current deployment response:
image

This issue was introduced by #523 (sorry), which fixed the urls for local development. However, the server port is 8888 internally when deployed, and the url helper methods aren't aware of the final deployed port.

This PR fixes the prod endpoint while keeping the localhost functionality.

image

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

Successfully merging this pull request may close these issues.

1 participant