Getting ERROR 500 On Discord authentication signup/login

Hi there, so I running into some pickle.

We have enabled Discord Login’s/Signup’s and we are getting

Oops

The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.

Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.

No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.

No idea, why. We followed the steps Configuring Discord Login for Discourse - #9 by Valiantiam
And still getting the error, also the logs show from our site:

NoMethodError (undefined method id' for nil:NilClass) lib/discourse_event.rb:14:in block in trigger’ lib/discourse_event.rb:13:in `trigger’ app/controllers/users/omniauth_callbacks_controller.rb:37:

Any idea what might be causing this headache for me?