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/ & <[email protected]> -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/20230425200710.GA836104%40gslin.org.
