piccolo_admin icon indicating copy to clipboard operation
piccolo_admin copied to clipboard

External oauth (discord etc)

Open cheesycod opened this issue 4 years ago • 3 comments

Would be nice to be able to use discord oauth or another external auth system

cheesycod avatar Aug 14 '21 13:08 cheesycod

@cheesycod It's a nice idea. My knowledge of OAuth is quite limited. I need to find out if there's an existing async OAuth library for Python which could be integrated.

dantownsend avatar Aug 14 '21 22:08 dantownsend

@dantownsend There is library Authlib but I don't think that's within the scope of Piccolo Admin because the admin interface is for administrators, not for the end user. Usually administrator interfaces have a login with a username and password, and Piccolo Admin already has that.

sinisaos avatar Aug 15 '21 08:08 sinisaos

There are many people who use oauth internally including large companies like google etc.

if not oauth, maybe it could be possible to create a custom auth function or smth?

cheesycod avatar Aug 19 '21 11:08 cheesycod