Send invite to existing users on a tenant to a new application

I have two applications in on one tenant. I have existing user who have access to an existing application. What I want to do is send an invite email to the new application with a link to the new application, so when a user clicks on it they go to the login page and all they have to do is consent to the new application.

How can I do this?

Hi @matt33,

Welcome to the Auth0 Community!

For this use case, there is no mechanism to send these users an invite email to your application out of the box in Auth0. Instead, you will have to set up an email provider to send these emails to your users to direct them to your second application’s login page.

The login page link should look something like the following with your specified client_id:

https://{yourDomain}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    audience={apiAudience}&
    state={state}

(Reference: Call Your API Using the Authorization Code Flow)

The login URL might be different if you have set up Custom Domains.

Let me know if you have any follow-up questions.

Thanks,
Rueben