polr
polr copied to clipboard
[Feature Request] OAuth login
It would be nice if I could use an OAuth provider (e.g. Google, NextCloud etc) to authenticate users.
My use case would be having my Nextcloud on cloud.domain.tld
and Polr on s.domain.tld
. Users can login with their NextCloud credentials on both services (according to the OAuth2 flow).
Unfortunately I never worked with Laravel, only Yii2 so I'm little help with implementing this feature.
I'll have a go at implementing OpenID tonight and open a PR
Go ahead
On Fri, Sep 13, 2019, 10:25 PM Jamie Woods [email protected] wrote:
I'll have a go at implementing OpenID tonight and open a PR
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cydrobolt/polr/issues/495?email_source=notifications&email_token=ABLXJWZWPTBDVDGSKT4XVB3QJPAZTA5CNFSM4GGKRVYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6VTEJA#issuecomment-531313188, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLXJW7S7KVQRSP4TLBGHB3QJPAZTANCNFSM4GGKRVYA .
I've opened a PR that adds OpenID Connect support. I've tested it with two providers (one we run in-house, and against Google), and it appears to be working as intended.