@jerdog I have an open support ticket which one of your engineers has been working with me on. Happy for you to use that if it cuts time debugging! Ticket is #44440
Ruth
@jerdog I have an open support ticket which one of your engineers has been working with me on. Happy for you to use that if it cuts time debugging! Ticket is #44440
Ruth
I tried now with a new profile from an American site i.e. withou the “eu”: https://testestukune.auth0.com/authorize
I am stuck on the same problem! 
@RCheesley / @Serginho_Cintra / @blake - we are looking into this and will get with you as soon as we see what’s going on
From the other thread:
oauth2 json user id path : sub
oauth2 json username path : nickname
oauth2 json name path : name
oauth2 json email path : email
Quite different from the identities.[].id posted above!
Yes - things have likely changed from post #1 in terms of required settings
@RCheesley and @Serginho_Cintra
The key part that we were missing is that we need to specify a scope when we ask Auth0 for user info.
I’ll update the original post with the correct values you need.
And thanks @jerdog for the help
!
Fantastic, thanks so much for all the help guys, hugely appreciated!
Ruth
Sorry @charchar, I don’t understand how you overcame the “error message with no other options” problem.
I’m stopped just at this point…
Hello!
If the user is new to Discourse, then, after authentication, a window appears with the data of the new user. Is it possible to somehow create a Discourse user automatically, without showing this window? The user is already created on Auth0 …
It is not currently possible, but we hope to add it soon
https://meta.discourse.org/t/openid-connect-authentication-plugin/103632/56?u=david
Is the same situation with the discourse-saml plugin?
The SAML plugin creates the user automatically. We’re planning to make the same functionality available in other plugins.
Is there an update on this?
I’ve got a site that’s using oauth2-basic with auth0. It is the only auth method available and local logins are disabled. New users are not getting created on the Discourse side and logins fail silently, so there is no way to add new users. It’s not clear if this started at the beta9 upgrade or when we switched to oauth2-basic some weeks ago.
At this point, even having to click through a “create your account” screen would be totally fine.
EDIT: A theme component was keeping the new user modal from popping up. Still interested in skipping that step, though.
It helps to know that setting logout redirect to https://SITENAME.auth0.com/v2/logout (or https://SITENAME.auth0.com/v2/logout?returnTo=SOME_URL_THAT_IS_IN_ALLOWED_LOGOUT_URLS') then logging out of Discourse will log out of auth0.
إنه متاح الآن في جميع الإضافات ![]()
تمكنت من اتباع الدليل لإعداد SSO باستخدام Auth0، ويعمل كل شيء بشكل صحيح. المشكلة الوحيدة هي أنه عند تحديث avatar_url في Auth0، لا يتم تحديثه في جانب Discourse. لقد جربت تسجيل الدخول والخروج لكل من الحسابات الإدارية والحسابات العادية. للتوضيح فقط، يتم تعيين الصورة الرمزية بشكل صحيح عند التسجيل، لكنها لا تتحدث لاحقًا في Discourse. يمكنني رؤية مخرجات التصحيح في السجلات، ويحتوي user_json بالفعل على avatar_url المحدّث.
@blake هل يمكنك إخباري إذا كانت هذه مشكلة معروفة أم أنني بحاجة إلى تصحيح أي شيء في إعداداتي؟
انتهيت بتعطيل إضافة oauth2_basic واتبعت تدفق SSO باستخدام قواعد Auth0 كما هو موضح هنا: https://blog.leog.me/discourse-sso-with-auth0-e49486d0294a
التغيير الذي قمت به كان تخزين sso_secret في إعدادات القواعد بدلاً من تخزينه في بيانات التطبيق الوصفية
أيضًا، قم بتضمين client_id
https://auth0.com/docs/logout/redirect-users-after-logout