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

Add custom provider #17

Open
MakaryGo opened this issue Jul 7, 2017 · 9 comments
Open

Add custom provider #17

MakaryGo opened this issue Jul 7, 2017 · 9 comments

Comments

@MakaryGo
Copy link

MakaryGo commented Jul 7, 2017

Is there an easy way to add custom oAuth provider option to the module?
I'd like to connect Grav powered site with my own oAuth server.
I see that it works on top of a Lusitanian oAuth library, which is very versatile, so it shouldn't be very hard, but unfortunately I can't provide a PR now...

@rhukster
Copy link
Member

rhukster commented Jul 7, 2017

There's really not a simple way no. I would love to see the oauth plugin receive a rewrite to enable 'plugglabe' oauth authenticators, just no time to look at it myself right now.

@MakaryGo
Copy link
Author

MakaryGo commented Jul 7, 2017

@rhukster thank you kindly for an answer!
So, if I'd like to add custom provider, I'll have to hack the plugin, understood.

@Vivalldi
Copy link
Collaborator

Vivalldi commented Jul 8, 2017

Reopening just to keep track of possible rewrite.

@Vivalldi Vivalldi reopened this Jul 8, 2017
@oliverbaehler
Copy link

Will there be a rewrite to this module so it would be possible to auth. against a custom provider?
We're trying to implement gravcms in our environment and would love to see this plugin working with a custom provider!

@rhukster
Copy link
Member

With the advent of the new plugin events in login plugin this is now more doable than ever. Just a matter of someone with time doing it.

@Tslimshady99
Copy link

Would love this, so I can contect discordapp

@erenfro
Copy link

erenfro commented Apr 5, 2018

Mmmm nice. I've been considering Dolphin Oauth2, which would be quite nice to use to federate logins between webapps I run, grav, forum, chat, etc.

@oliverbaehler
Copy link

oliverbaehler commented Apr 6, 2018

Is someone going to dive into to this?

@rhukster
Copy link
Member

We've actually already made some progress here... It's a whole new plugin and is not ready yet, but supports pluggable authenticators.. i tested with a slack and works well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants