HedgeDoc + AzureAD

My version of HedgeDoc is: 1.9.2

What I expected to happen:

I try to login with OAuth2.0 over AzureAD to HedgeDoc. It fails with an “Internal Server Error”.

What actually happened:

  1. Login over Oauth 2.0
  2. Microsoft Login popup
  3. Microsoft Login successfull
  4. Redirect to https://hedgedoc..com/auth/oauth2/callback?code=&state=&session_state=
  5. HedgeDoc shows white page with “Internal Server Error”

I already tried:

Everything

Hello,

Have you checked the log files? Could you please provide the log?