Hello,
I have implemented a Trac plugin regarding Google OAuth integration for
SSO need (PoC, tested with Trac 1.4.3), and need some suggestions before
formal release (i.e. refactoring to a pip-installable plugin):
https://gist.github.com/gslin/5e36a177ccbb0cc5af63989fa2b8ce52
Something still bothering me:
* Plugin naming. I set it to TracGoogleOAuthIntegration (so far) but
actually I don't like this naming.
* Cookie handling. As this plugin tries to reuse LoginModule's
implementation about `trac_auth` cookie and `auth_cookie` table, but
apparently this behavior belongs to side effect and not guaranteed
working in the future.
* Others? Maybe UI flow?
Any inputs and directions are always helpful.
Thanks,
--
Resistance is futile.
https://blog.gslin.org/ & <
gs...@gslin.org>