Can't login with universal login says "connection not found"

I cant login with universal login enabled for my clients project. Although after turning off universal login it works as expected.
I get
Status: 404 Not Found
Response: connection not found.

I have the same code setup in a development account which works perfectly with universal login enabled.

I am using loginWithRedirect().

Hi @nishin

Thank you for posting your question on the community!

Just to double check, the connection that you are passing in for both tenants is the name of the database that the user is stored in or are you using the id of the connection by any chance? Can you also confirm that the user exists inside the database that the connection parameter is using?

Additionally, the connection names are case sensitive, make sure you do not pass it in as all lowercase.

Also, do you have the connection hardcoded in one of the allowed callback urls of the tenant or inside your implementation? If you could share some snippets of your application settings and url you use for redirection, that would be great.

If you have any other questions, feel free to let me know!

Kind Regards,
Nik

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.