polr icon indicating copy to clipboard operation
polr copied to clipboard

[Feature Request] OAuth login

Open DBX12 opened this issue 5 years ago • 3 comments

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.

DBX12 avatar Nov 26 '18 09:11 DBX12

I'll have a go at implementing OpenID tonight and open a PR

Jamie0 avatar Sep 13 '19 16:09 Jamie0

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 .

hironate avatar Sep 13 '19 17:09 hironate

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.

Jamie0 avatar Sep 15 '19 11:09 Jamie0