Auth0 Home Blog Docs

How to redirect to unique callback URL

lock
auth0

#1

I’m using Lock and Django to authenthicate my users, whenever it’s done I’d like to redirect them to the same page they were. I thought of two ways to do so:

  1. Specify callback url in Lock redirectUrl parameter - Problem : Callback URL mismatch. (can’t specify each new unique url to Allowed Callback URLs )

  2. Specifying my unique url under and sent it by lock to auth0 that will send it back along with the user informations. - Problem: I don’t think such feature exist.

How can I achieve this?


#2

With the redirectUrl parameter, did you whitelist the URLs? There is also some good ideas around this below: