Implementing User Creation on First Login with Auth0 and Flask

Hi @rodyli123

Welcome to the Auth0 Community!

Thank you for posting your question. If I understand correctly, you have an external database that creates a user model after users register for your application. If you are relying only on email+password connection type, you can use Post User Registration Flow to pass user data to your external database → Post User Registration Flow.

If, in your flow, you utilize the social connection, you can distinguish the first login with post login action → How to distinguish first login after sign up - #3 by supergrounded

I hope this will help you!
Dawid