Auth provider development

Maybe I missed them, but I don’t see there being any docs on auth provider development. I’d like to see providers for OAuth2 or OpenID Connect - is there a way I can do this or will it depend on patching upstream?


The interface to develop a new auth driver is here:

basically you get the username, passowrd (as provided by the user) and secret (the password stored in the DB). Within the driver you may access additional information by calling oneuser show if needed…

As a base sample, you can take a look to ssh auth for example:

It would be great if you work on those, let’s know if you need more help

Thanks Ruben, I had missed that part of the docs. I’ll have a look at the links you suggested!