-
Notifications
You must be signed in to change notification settings - Fork 851
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
[docs] Clarify OAuth flow documentation #2472
Conversation
- add note about AUGUR_DEV envvar and localhost - remove Augur View and docs terminology disparity - fix "acquired" typo Signed-off-by: Seltyk <whhacker.dcx@gmail.com>
The doc updates look good to me. I'm not sure I understand what the SSL issue is you've mentioned? I'm able to authenticate with a client locally from an instance of augur served behind HTTPS. |
The Jinja template It's possible this is my experience alone, but I'm puzzled that it happens at all. |
The application's redirect URL is not considered as part of the request to generate a temporary auth code. As long as the user agent makes the request to the backend with https as the scheme, then the requirement for SSL should be met (assuming that the certs have been setup on the host). If the instance of Augur you're querying is hosted behind a server like Nginx or Apache, you'll additionally need to make sure you have the following parameter set in your
|
Further testing reveals I'm actually getting a 426 from |
Signed-off-by: Seltyk <whhacker.dcx@gmail.com>
Signed-off-by: Seltyk <whhacker.dcx@gmail.com>
4 days of confusion down to one little typo. Fixed in the latest commit. This doesn't solve the SSL thing mentioned above, but it solves another problem that had been lurking in my code the whole darn time. |
If you have some time on Wednesday or Thursday @Seltyk I think it might help to meet via Zoom to resolve the SSL issue. |
I'm available until 16:00 EDT today and until 18:00 EDT tomorrow. GitHub says you're in CDT, so that should be easy to work out. |
Let's plan for 3pm CDT Thursday. My work email should be visible on my profile page, if you'd like to reach out there we can arrange the meeting link. |
Description
Notes for Reviewers
In my opinion, the SSL issue should be met with a backend change. Assuming Augur is running with HTTPS support, enforcing SSL into Augur is a good idea, but enforcing it out of Augur appears to be why localhost clients don't work. The redirect back to the user's client application at http://127.0.0.1 fails SSL enforcement silently, responding with (non-existent) temporary authorization code "undefined". Should I make a GitHub issue for this?
Signed commits