I am trying to develop a setup with custom database (mongodb).
The implementation is going well. Users can sign in, the custom database script then goes to my API, and I verify the user against the corresponding user in mongoDb. I can hereafter see the user in the Auth0 dashboard.
However, my issue is that when I:
- Create a user in Mongo
- Log in with that user successfully (the user is now in the Auth0 dashboard)
- I delete the user in Mongo (and not in the Auth0 dashboard)
- When I now try to login, it works and Auto0 does not verify against my API endpoint! Is that because I need to delete the user in Auth0 as well, or is Auth0 just persisting/caching information so it does not visit my API endpoint to verify on each login?
I hope you can help me clarify, and thanks in advance.