-
Notifications
You must be signed in to change notification settings - Fork 13
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
Force https:// in discovery response and ID token's issuer #23
Comments
This issue has been fixed. However, we found that I think we should replace our use of |
This may be even more complicated. When using Laravel Octane with Swoole |
@alecpl I agree that in all production setups HTTPS should be used, but I don't like libraries assuming your development setup does too. I would like to see an option to disable HTTPS on development, either by boolean flag, config var, checking the env etc. If you are concerned about if users will enable it correctly on production, feel free to add a persistent warning with an explanation of the spec on every server run in development. |
I know this is more of a Laravel general setting/problem, but would it be possible to force https:// in
DiscoveryController
?There are
url()
androute()
calls that all returnhttp://
, but I need them to behttps://
.All URIs MUST use
https://
according to the protocol spec. So, I think it should be enforced in your code.There's also a code in
IdTokenResponse::getBuilder()
that would need to returnhttps://
for the$issuer
.BTW:
URL::forceScheme('https');
does not fix issuer inIdTokeResponse
, which might be a bug in itself.The text was updated successfully, but these errors were encountered: