GitHub OAuth appears to be bugged.
Trying to use Oauth with GitHub as a provider doesn't work.
When signing in on the front end on my instance, the process goes smoothly until redirecting the user after hitting the callback where it shows a 401 error "username missing." I've tried using GitHub Oauth on my own instance and on the official Comentario demo server and get the same error.
Logs on my end show:
ERROR svc authSessionService.Create: ExecuteOne() failed: pq: duplicate key value violates unique constraint "cm_auth_sessions_token_value_key"
ERROR handlers Service error: services: database error
Interestingly, when I try on either the Comentario demo server or my own it shows as an authorized app for Oauth in my GitHub dashboard. However, on the Comentario side I am still not authenticated (guessing because of the error in the logs).
I am using version 3.30.
issue