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

Support HTTP discovery endpoints #1

Closed
tanelsuurhans opened this issue Oct 2, 2015 · 1 comment
Closed

Support HTTP discovery endpoints #1

tanelsuurhans opened this issue Oct 2, 2015 · 1 comment

Comments

@tanelsuurhans
Copy link

Instead of defaulting to the URI::HTTPS builder and ignoring the provider URLs scheme, it seems to make more sense to use URI::HTTP and just pass in the scheme - in which case if the discovery endpoint provided uses HTTPS, it will be supported as such. Same for HTTP. I realize that enforcing SSL is a good practice for security, but it makes local development quite painful with your openid_connect library.

@nov
Copy link
Owner

nov commented Oct 7, 2015

Do something like this.
https://github.com/nov/openid_connect_sample_rp/blob/master/config/initializers/debugger.rb

WebFinger (and SWD) requires HTTPS, and not allowing HTTP.

@nov nov closed this as completed Oct 7, 2015
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

No branches or pull requests

2 participants