Is there a easy way to get connection for domain name?

We have custom UI and we wanna have HRD and we need to get connection if exist based on domain name…

Is there support in management API for this ?

Using lock is not our use-case… And exposing them to frontend is also not the way… so we looking to obtain this data from management API in our backend…


Hi @damikun,

Thanks for reaching out to the Auth0 Community!

Sure! This can be done by calling the Management API’s Get a Connection endpoint. If the Connection exists you should get the data back in the response, otherwise, it will indicate that the connection does not exist.

I hope this helps!

Please let me know if you have any further questions.


Thank you @rueben.tiow i know i can get connection by its Id or get all of them and iterate over relms… But was more asking about getting connection by domain name…

Since this is part of login process i don’t know connection Id at the time i have only user email address…

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

Hi @damikun,

Thank you for replying.

Unfortunately, it is not possible to get a connection by name. The 2 approaches you mentioned in your initial post are indeed the only ways to get a connection.

Please let us know if you have any additional questions.