[LEDE-DEV] [LEDE DEV][wiki] Login with github

Thomas Endt tmo26 at gmx.de
Mon Feb 20 10:11:32 PST 2017


Hi Baptiste,

jow already fixed this issue with a workaround (see comments in your linked
bug report).

To get this fixed in the OAuth plugin, I created a bug report

https://github.com/cosmocode/dokuwiki-plugin-oauth/issues/45

Regards, Thomas


> -----Ursprüngliche Nachricht-----
> von Baptiste Jonglez
> Gesendet: Montag, 20. Februar 2017 16:20
> 
> Hi Thomas,
> 
> Is the github login integration supposed to work?  There is a bug
> reported about a 404 error when trying to login:
> 
>   https://bugs.lede-project.org/index.php?do=details&task_id=531
> 
> Thanks!
> Baptiste
> 
> On Sat, Oct 01, 2016 at 05:25:54PM +0200, Thomas Endt wrote:
> > IIRC it was Martin who proposed to use oAuth to log in to the wiki
> > with github credentials.
> >
> > I installed the oAuth plugin (https://www.dokuwiki.org/plugin:oauth)
> > for this purpose and created an oAuth application with my github
> > account for testing purposes.
> >
> > Since the owner of the application is shown under
> > https://github.com/settings/applications and to avoid a SPOF, the
> > owner of the LEDE-Wiki login application should probably be someone
> other than me.
> > I'm not sure if github organizations (i.e. lede-project) can create
> > oAuth applications. Can someone of the devs please try?
> >
> >  Things to enter in https://github.com/settings/applications/new
> >
> > Application name	: LEDE wiki login
> > Homepage URL	: https://wiki.lede-project.org/doku.php
> > Application description	: Log in to the LEDE wiki with your
> github account.
> > Authorization callback URL	: https://wiki.lede-project.org/doku.php
> >
> > After successful creation of the application, the "Client ID" and
> > "Client Secret" need to be entered in the oAuth config of the wiki (-
> >
> > admin -> config -> oAuth). You can either do this yourself or let me
> know.
> >
> > To use the login via github, the user needs to update his wiki
> profile
> > accordingly:
> > -> Update profile -> Login with other Services -> check Github ->
> save
> >
> > Please let me know your thoughts.
> >
> > Regards,
> > Thomas
> 
> 
> > _______________________________________________
> > Lede-dev mailing list
> > Lede-dev at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/lede-dev





More information about the Lede-dev mailing list