I’ve been trying to make dynamic client registration work. I can create a client fine. My client opens the implicit flow page in the clients browser however I get no connections enabled for the client
. I assume this is because the clients that are created don’t have any connections setup by default.
Is there any way to designate a connection as a default for all future dynamic client registrations? Or is there an alternative solution here?
Hi @matthew7,
Welcome to the Auth0 Community!
Sadly, there’s no option to set a default connection for all future applications you create.
However, there is an option to switch on the Enable Application Connections flag in your Tenant’s advanced setting, which enables all connections when a new application is created.
(Reference: Tenant Settings)
Thanks,
Rueben
Thanks Reuben!
I fixed this by setting one of my connections as a domain connection:
--url 'https://tenant.eu.auth0.com/api/v2/connections/con_E2AuJhZx9ddRidCq' \
--header 'authorization: Bearer .,.' \
--header 'cache-control: no-cache' \
--header 'content-type: application/json' \
--data '{ "is_domain_connection": true }'
where con_E2AuJhZx9ddRidCq
is the name of the connection that should be enabled.