Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

Authentication plugin - how to start?

Started by Makary 9 years ago · 2 replies · 1441 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 Slebeig, 3 weeks ago
1 201 3 weeks ago
Plugins · by Rene, 1 month ago
2 367 1 month ago
Plugins · by Xavier, 2 months ago
2 289 2 months ago
Plugins · by Luka Prinčič, 7 years ago
3 1496 2 months ago
Plugins · by Sebastian van de Meer, 2 months ago
1 408 2 months ago