500 error on redirect from auth

If I try and sign-in with github or my own server (keycloak), i get a 500 error,

with github i get
https://git.riotingpacifist.net/user/link_account?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch&state=03026bcd-1b57-496b-b0c8-94471d97a30c

with keycloak i get
https://git.riotingpacifist.net/user/oauth2/Keycloak/callback?state=541cad9e-0c3c-4dcc-84a1-fe376e2f4f1a&session_state=dfd12852-ec2c-4fc0-9850-a86d006c76fd&code=f12d812e-df9f-4115-8497-85d07d5c7895.dfd12852-ec2c-4fc0-9850-a86d006c76fd.2a5ca034-40bd-4ccd-85ae-88953497da3e

github is setup to redirect to https://git.riotingpacifist.net/user/oauth2/try/callback
i’m not sure where keycloak will send data to.

I don’t get much in terms errors in the logs: Aug 14 14:04:31 JuanCanham gitea[6090]: [Macaron] 2019-08-14 14:04:31: Completed GET /user/oauth2/try/callback?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch&state=4e326d74-cc20-4aee-ad9c-715736f7c7d3 500 Internal Server Error in 2.845402ms

did you get anywhere?

I think there is an issue to report login 500 with github.

thanks, will try new release and create a GH issue if it persists