Questions tagged [auth0-lock]

71 questions
19
votes
1 answer

Auth0 does not persist login on page refresh for email/password

I am using Auth0 as my authentication provider for a SPA using React. I have followed the Auth0 react tutorial and this more detailed tutorial from their blog. I am currently just using just email/password authentication. And the authentication…
Charklewis
  • 4,427
  • 4
  • 31
  • 69
13
votes
1 answer

How do I get a refresh token from auth0 passwordless using lock v11?

I have an old-school angularJs app that has two pages. On both of the pages I include the auth0 lock script. Of those two pages, one has the following js that specifies an…
Lucas
  • 643
  • 1
  • 9
  • 21
8
votes
1 answer

XCTestCase with Auth0: How to dismiss security alert “XXXX” Wants to Use “auth0.com” to Sign In

So recently Apple introduced this prompt: “XXXX” Wants to Use “auth0.com” to Sign In Where “XXXX” is the ios app name. This alert/dialog comes up when in the case of Auth0 the user clicks on “Login with Google” or “Login with Facebook”. That’s all…
chrisl08
  • 1,658
  • 1
  • 15
  • 24
5
votes
3 answers

How to test single page application with Cypress and Auth0

I am having a single page application hidden behind Auth0 lock, using @auth0/auth0-spa-js. I would like to test it using Cypress, so I have decided to follow the official Auth0 blog post, as well as Johnny Reilly blog post. I am able to successfully…
Marian Bazalik
  • 1,351
  • 1
  • 13
  • 30
5
votes
2 answers

grab query params from redirect angular 5

My problem is I'm using auth0 as my authentication service, now when a user logs in and is authenticated it gets redirected back to my callback url which then decides where to send the user now my problem is when you get redirected back to your…
Smokey Dawson
  • 8,827
  • 19
  • 77
  • 152
4
votes
1 answer

How to set Auth0 configuration for angular app?

I'm trying to use Auth0 in angular app, but when I set the configuration in [https://manage.auth0.com/dashboard/] I got this error when click on save changes button Error!Payload validation error: 'Object didn't pass validation for format…
4
votes
0 answers

How to use loginWithPopup() in auth0?

I am working on a login page (using react) where I want to use loginwithPopup() from auth0. I have used the sample react SPA code from GitHub which is provided by auth0. They have used loginWithRedirect in their example under NavBar component but I…
Rishiban R
  • 103
  • 2
  • 14
4
votes
1 answer

Programmatically authenticate in Auth0

I'm setting up cypress.io to test a react app. I'm trying to programmatically authenticate with Auth0 Lock so I don't have to test their UI. Here are the steps: POST to https://[auth0-domain].com/usernamepassword/login client_id: "", …
jabbermonkey
  • 1,680
  • 4
  • 19
  • 37
3
votes
1 answer

How to remove a listener attached to auth0-lock?

Auth0-lock documentation provides an example of attaching a listener to the authentication status change event: https://auth0.com/docs/libraries/lock/v11#2-authenticating-and-getting-user-info // Listening for the authenticated…
mpontus
  • 2,143
  • 2
  • 19
  • 21
2
votes
0 answers

Auth0: Add login_hint query param to redirect URL after password change

Is there a way to add the login_hint query params along with iss query params in URL received after password-change? Detail Use case: A password change ticket email will be sent to the user. The user clicks on the change password URL, and changes…
2
votes
1 answer

Auth0 callback URL for Vue/Quasar and Capacitor app

I am trying to setup Auth0 for my Quasar app that will use Capacitor but without success. Mainly i use auth0-lock and it works as expected but if i provide any callback url how will that work when the app is running on the device with Capacitor? For…
myoda999
  • 335
  • 2
  • 11
2
votes
1 answer

How do i update Auth0 lock logo from my React App using hooks

I am using auth0 "@auth0/auth0-spa-js": "^1.6.0" hooks for my react app. How do i change the default logo forom auth0 in login lock? The logo i want to change is highlited by red I have already updated the Application Logo in dashboad, but its…
2
votes
2 answers

How do I programmatically login through Auth0 Lock interface?

I'm trying to write a WebPageTest custom script that involves programmatically logging into my web app's Auth0 Lock interface as the first step but haven't been able to get it working. I set up a private WebPageTest server to get a closer look at…
2
votes
3 answers

Use of unresolved identifier 'connections'; did you mean 'Connections' in Auth0?

I'm working on Auth0 Lock integration, i'm getting error Use of unresolved identifier 'connections'; did you mean 'Connections'?. .withConnections {_ in connections.database(name: "Username-Password-Authentication", requiresUsername: true) } I…
Naresh
  • 16,698
  • 6
  • 112
  • 113
2
votes
0 answers

Cannot log in for some users in Auth0 SPA using VueJS

I have an access_denied error that occurs only for some users in my web app when they try to login user username/password. Using the auth0-js 9.3.3 plugin for a VueJS 2.0 SPA using the authorization extension. I get the following response in the…
Tom Franssen
  • 456
  • 4
  • 12
1
2 3 4 5