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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Authentication plugin - how to start?

Started by Makary 9 years ago · 2 replies · 1349 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 Rene, 1 week ago
2 42 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 47 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 71 2 months ago