Thanks for the quick reply.
I can see ?state=xxx
included in URLs in Discourse logs.
I will try to use OpenID connect plugin so…
Edit: I have switched the plugin to OpenID Connect Authentication Plugin you proposed and configured it to works with mojeID. Thanks