Home realm discovery setup with management API

Hey,
Using python SDK, I’d like to create a SAML connection and overall, thanks to this post, I managed to get what i want.

The connection is being created just fine, however the Home Realm Discovery feature does not hold any domain in it.
If I want it to include example.com, how would I go about it?
I tried adding "realms": ["example.com"] in the payload’s body, however i get the following error:
auth0.v3.exceptions.Auth0Error: 400: Realms is only supported for database connections.

to answer any future enquiries, the field i was missing was “domain_aliases”. this allows to add email domains to the SAML app’s login experience.

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