xdavidwu / laravel-oidc-auth

OpenID Connect authentication for Laravel
MIT License
8 stars 6 forks source link

Allow self signed certificated #4

Closed Peddaahh closed 1 year ago

Peddaahh commented 1 year ago

As I assume this is an issue with the base I created the original issue here: https://github.com/steverhoades/oauth2-openid-connect-client/issues/41

xdavidwu commented 1 year ago

if it is going to be implemented in steverhoades/oauth2-openid-connect-client or thephpleague/oauth2-client, it will likely be in provider options, and we will automatically gain support of it in config/oidc-auth.php provider key with a dependency upgrade.

Peddaahh commented 1 year ago

if it is going to be implemented in steverhoades/oauth2-openid-connect-client or thephpleague/oauth2-client, it will likely be in provider options, and we will automatically gain support of it in config/oidc-auth.php provider key with a dependency upgrade.

https://github.com/thephpleague/oauth2-client/issues/829

does this work for this package here too?

xdavidwu commented 1 year ago

hmm that's a rather DIY approach (bring your own http client)

we do not directly support tweaking the second parameter (instead of the first one, the common options) of provider class yet, but you can override LaravelOIDCAuth\OIDCProviderService, via laravel service provider bindings, for that

Peddaahh commented 1 year ago

yes i did it with this workaround