תוסף OpenID Connect אינו יוצר משתמשים חדשים עם AWS Cognito

סיכום מבוסס בינה מלאכותית

In a discussion titled “OpenID Connect Plugin not creating new users with AWS Cognito” under the SSO category, Vairav_Lakshmanan reports that while OpenID Connect authentication works for existing Discourse users, new user creation via AWS Cognito fails — despite successful callback and user data retrieval, users remain stuck on the login page instead of being redirected to the dashboard. A screenshot from the development.log confirms user info is fetched correctly. osioke suggests reviewing a related guide on AWS Cognito + OAuth2/OpenID setup, but Vairav_Lakshmanan confirms following those steps yielded no improvement. Rajat_Raj chimes in, indicating they’re also experiencing similar issues with Cognito authentication, signaling this may be a broader configuration or plugin limitation.

Hello There,

I have a local instance of the discourse in my machine. I am trying to authenticate users using OpenID connect. I have followed the below link to set up the OpenID plugin for discourse: Discourse OpenID Connect (OIDC).

When I tried to log in using the OpenID for the existing user in discourse, everything works fine. But the actual problem occurs when I tried to sign up using the OpenID connect.

AWS Cognito verified the user and callback to discourse happened successfully and I verified the development.log file, user information also fetched by the discourse properly. But after that, it’s still on the login page instead of redirecting the user to the dashboard.

Basically using OpenID connect and AWS Cognito I couldn’t create a new user in Discourse.

Any sort of guidance on this will be very much helpful. Thanks in Advance.

Screenshot of the profile info fetched by discourse from development.log file FYR.

I am not skilled with the SSO setup, but could you check through the steps detailed here to see if they help in anyway improve your integration?

I have followed these steps too. But no luck. Still the same.

Any updates here? I’m also trying to use cognito for authentication.