Documentation on Oauth #209
-
Hello, I was wondering if there was an example of Oath or some other Single Sign On. I see the libraries make refence but I haven't figured out where to configure it. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Currently the only two OAuth providers supported are GitHub and Gitlab. There is currently not a way, without modifying the code, to configure a generic OAuth provider. There is some boilerplate to build from. See https://github.com/TrueBrain/TrueWiki/tree/main/truewiki/user for details. The reason is that most OAuth providers need special settings and weirdness to actually be useful. So it depends a bit what you are looking for. Was there any specific provider you were looking for? For TrueWiki I add providers on demand, so they can be truly tested. So just let me know what you are looking for, and I can see what I can do for you :) |
Beta Was this translation helpful? Give feedback.
Currently the only two OAuth providers supported are GitHub and Gitlab. There is currently not a way, without modifying the code, to configure a generic OAuth provider.
There is some boilerplate to build from. See https://github.com/TrueBrain/TrueWiki/tree/main/truewiki/user for details.
The reason is that most OAuth providers need special settings and weirdness to actually be useful. So it depends a bit what you are looking for.
Was there any specific provider you were looking for?
For any public provider mentioned in https://github.com/klen/aioauth-client/blob/develop/aioauth_client/__init__.py (the library TrueWiki uses) adding support is relatively easy. If you are looking for some cu…