What's the purpose of default login route?

Whay is it compulsory to define default login url for sending organization invitations?

It’s also not clear whether api should redirect to authorize endpoint or proxy the call to it.

Hi @vpv,

Configuring a default login route for sending organization invites is required because the flow was designed that way. The default login route should point to a route in the application that ends up redirecting to the Auth0 /authorize endpoint. In the organization invite flow, the user is redirected to that default login route with the invitation-specific parameters appended.

The route should redirect to the /authorize endpoint.

Please let me know if you have any additional questions!

Best,

Mary Beth

But what is my login endpoint expected to do in addition to redirection?

Hi @vpv,

For the organization invite flow, the route in your application that redirects to /authorize doesn’t need to anything but redirect to /authorize and forward the invitation and organization parameters through the query string.

Parameters documentation: Add Login Using the Authorization Code Flow

Best,

Mary Beth

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