Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Authentication plugin - how to start?

Started by Makary 9 years ago · 2 replies · 1722 views
9 years ago

Hi there!
I'd like to make a plugin that authenticates against Discourse SSO on my Discourse instance.
What appproach would you recomend? Adding 'Login' as a dependency and working on top of it?

9 years ago

The Login plugin has OAuth integration https://github.com/getgrav/grav-plugin-login-oauth but Discourse is not in the list of the supported providers (and needs a little bit different configuration since there are many instances instead of just a single one, like for the other services)

That's a starting point!

9 years ago

Yeah, I'm aware. Also, Discourse does not provide authentivcation via oAuth
protocol, but rather via it's own SSO (Single Sign On) protocol, which is
actually very simple.
By the way, login-oauth plugi could use some loving coder, because at the
moment it's pretty basic...

napisał:

Suggested topics

Topic Participants Replies Views Activity
Plugins · by complanar, 2 weeks ago
6 358 1 week ago
Plugins · by BenLaKnet, 2 weeks ago
1 178 2 weeks ago
Plugins · by complanar, 1 month ago
2 460 4 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 746 2 months ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 582 2 months ago