I’m trying to set up the “Device Authorization Flow” to allow users to authenticate to Auth0 on headless systems, i.e. amazon ec2 servers. I have many different SAML/SSO connections configured in my Auth0 account and I need to be able to use a specific connection when the user is logging in.
For normal web based authentication use cases, I have set up my Universal Login Page with a handler that expects a url like this:
custom-domain.com/login/sso/{auth0_connection_name}
The page knows which Auth0 connection to use when authenticating by examining the url itself.
The device authorization flow defaults to logging in via this url however:
custom-domain.com/login
Is there some hook or rule that I can create that configures which sign-on url is used for logging the user in via the device authorization flow?