Questions tagged [auth0-lock]
71 questions
2
votes
0 answers
Auth0-lock-Error: An error occurred when fetching client data for Lock: https://cdn
I'm using Auth0-lock to create an authentication dialog.I want to create an auth-lock object in a NodeJS file.When I used :
const {Auth0Lock} = require('auth0-lock');
var lock = new Auth0Lock( MyClientId, MyDomain);
lock.show();
in my NodeJS…

we.are
- 409
- 2
- 6
- 15
1
vote
0 answers
Auth0: is it possible to disallow password-based login for a single user?
My app is using email addresses as unique identifiers for users. It also allows users to log in via social connections, i.e. Google Oauth. I want to disable password-based login when a user logs in with Google. Is it possible to somehow configure…

Patricia Li
- 1,346
- 10
- 19
1
vote
0 answers
Is there any way to call and use auth0 sdk libraries in chrome extension mv3 background.js file
Trying convert chrome extension v2 to v3 . Since background.js is a service worker now ,i'm not able to use auth0-spa libraries in it. Is there any workaround to use auth0/auth0-spa libraries in background.js . Any help would be much appreciated

maev
- 11
- 1
1
vote
1 answer
Show custom error message on passwordless Auth0 page
I would like to only allow certain phone numbers when patients sign up to my application through a passwordless Auth0 page.
For this I added a custom Auth0 action to the Pre User Registration flow.
My custom action checks the phone prefix:
/**
*…

Giorgio
- 2,137
- 3
- 20
- 40
1
vote
0 answers
Auth0 Lock - We're sorry something went wrong when attempting to log in
I commented this problem on the following thread for an active issue regarding Auth0 lock, but wanted to ask here for more reach in case anyone else has experienced this.
From what I've researched, it seems that many people are having this issue,…

johnnyrwest
- 36
- 5
1
vote
1 answer
Auth0 embedded login flow
We are trying to implement Auth0 in our next+fastify based application. The login page is custom and we want to integrate the login using the embedded login from the fastify server.
I am naive to oAuth and Auth0, I have a few doubts around it:
How…

Dinesh K
- 641
- 1
- 8
- 20
1
vote
1 answer
Show window alert if username / email doesn't match specific domains
I'd like to show an alert window on Auth0 universal lock if a domain in the email address field doesn't match to one from a specified list. Auth0 rules only run once authentication has taken place, I'd like something to happen before that, so I…

beric
- 13
- 2
1
vote
3 answers
Auth0 Lock v11 in React app not catching ‘authenticated’ event
I’m trying to implement Lock v11 in a React app and after user logs in, even though I hit the event listener and the event type is authenticated, the callback function is not getting called to process the tokens.
Here's my App.jsx where I'm both…

Sam
- 26,817
- 58
- 206
- 383
1
vote
1 answer
Auth0 get meta_data not authenticated
I'm using Auth0 to authenticate my users using my ios app and Iv'e been following the docs on getting the user meta data but it doesn't work when I try it. Following the docs, this is the method that I've written:
AuthenticationViewController
…

Mout Pessemier
- 1,665
- 3
- 19
- 33
1
vote
1 answer
Does the bearer token sent in Auth0's /userinfo api endpoint ever expire?
We have Auth0 set up with their Lock widget v11 using Implicit Flow in our SPA. We have JWT expiration set to 15 minutes in the Application settings in Auth0 admin portal and we use Silent Authentication in our web app to get a new token…

Pär Gustafsson
- 13
- 5
1
vote
2 answers
No authorization token was found - Express-JWT and Auth0
I'm working on integrating Auth0 into a MERN Stack app. The flow should look like this:
User clicks the login button which triggers Auth0Lock.show()
User fills in their credentials and clicks the submit button
The callback URL of the API is hit…

M. Farnik
- 235
- 1
- 3
- 9
1
vote
1 answer
How to link accounts via API using the Auth0.js SDK in react
I am trying to set up a working example of linking accounts to my sample app. I am currently using the react example found here as my base. I have looked over the docs and the example of linking an account with Lock, but I'm not sure how to apply…

camiblanch
- 3,866
- 2
- 19
- 31
1
vote
1 answer
How to configure auth0 authentication/authorization without using Auth0 Universal login?
I need to use Auth0 as authentication service in my node.js app.
The problem is that i don't need their universal login. I have my own and want to use it. I need user to enter his credentials in my form, do a request to node.js app, this node.js app…

Vitali Skripka
- 562
- 1
- 7
- 25
1
vote
2 answers
How to redirect a user to their intended url after logging in with auth0 lock
Goal: If a user navigates to a protected link they should be given the auth0 lock popup to login and be redirected to their intended destination.
I have a protected route /reports which is protected via an authguard…

Kay
- 17,906
- 63
- 162
- 270
1
vote
0 answers
How to prevent Auth0-Lock display on redirect?
I'm using Auth0-Lock with Meteor and when I sign in and confirm connection with Guardian app (2FA), the page redirect me to my app and the auth0-lock appears again.
I had some trouble conditioning the auth0-lock display, and finally came up with…

Titouan Le Floch Riche
- 162
- 1
- 8