Automatic login after creating Auth0 user

Sorry for being inexact here @markd :slight_smile: I’ll try to elaborate a bit.

We have two uses cases:

  1. A new user comes to the site and signs up. During the sign up, we create a user profile in our system and Auth0. When user completes the sign up (=== onboarding), we want automatically log the user in. So they could start using the site straight away without doing anything else.

  2. existing user who wants login. This is a really simple case and we’re actually using Passwordless for this :slight_smile:

The use case 1) is the one I haven’t been able to figure out. During the sign up, we create the Auth0 user via Auth0 Management API (Auth0 Management API v2) but the end-point doesn’t seem to have any options for getting an access token for the freshly created user. So I’m looking for help with this: how do I automatically log that freshly created user in using Auth0 API (so that I’d get JWT access token to be used with our authenticated API)?