auth0 / lock

Auth0's signin solution
https://auth0.com/docs/libraries/lock
Other
1.13k stars 556 forks source link

Unability to do anything after signup #2393

Closed rantiev closed 1 year ago

rantiev commented 1 year ago

Checklist

Description

I want to create user profile in local DB after successful signup. How I can do this? Auth0 Actions dont seem to be useful as it requires to have additional config on 3d party and doesn't work with localhosts....

Reproduction

  1. use auth

Additional context

No response

Lock version

v12.02

Which browsers have you tested in?

Chrome

stevehobbsdev commented 1 year ago

👋🏻 If you just need this to happen on the client after the user has signed up, Lock has an on method that you can use to register a callback for a number of events, including signup success. Inside the callback you would just do what you need with LocalDB. See the readme for more info on this callback.