Questions tagged [auth0]

For questions relating to the integration with Auth0 services and/or SDK's. Auth0 is a cloud or on-premises authentication and authorization service provider that lets you easily and quickly connect your apps, choose identity providers, add users, set up rules, customize your login page and access analytics from within your Auth0 dashboard.

Auth0 is a platform for modern identity. It provides tools that simplifies the authentication for your applications and APIs using industry standards such as SAML, OpenID Connect, JSON Web Token, OAuth 2.0, OAuth 1.0a, WS­-Federation and OpenID, preventing any type of vendor lock-in.

It supports multiple types of authentication across any application platform:

  • Social - authenticate users with social providers (Facebook, Twitter, etc).
  • Enterprise - authenticate users with Active Directory, LDAP and SAML, among others.
  • Database - authenticate users with traditional username and password credentials stored on an Auth0 hosted database or your own existing database.
  • Passwordless - authenticate users by email and/or SMS without requiring them to remember yet another set of credentials.

The authentication pipeline can be customized by implementing your own rules, in plain Javascript, that will be executed every time a user authenticates to an application.


Useful links

3108 questions
1
vote
2 answers

Angular 2 + Auth0 "Cannot read property 'picture' of null" after signing in

I have integrated Auth0 authentication to an Angular 2 application and after signing in, I get this "Cannot read property 'picture' of null" error, BUT if I refresh the page it shows that the user is logged in and the image appears with no errors in…
Csaba
  • 1,945
  • 3
  • 28
  • 46
1
vote
1 answer

Unauthorized user when calling Laravel 5.3 API with Auth0 from curl

Looking for the convenience of Auth0 to sort out JWTs between my Angular 2 client and Laravel 5.3 API. I've followed (and double-checked that I've followed) Auth0's getting started guide: https://auth0.com/docs/quickstart/backend/php-laravel But…
theotherdy
  • 715
  • 1
  • 7
  • 22
1
vote
2 answers

Angular 2 + Rails + Auth0

I'm trying to figure out how to use Auth0 with an Angular/Rails application. I've set up Auth0 with an Angular-only application and it worked fine. I can see the Auth0 docs for Rails and as far as I can tell it makes sense. What I don't understand…
Jason Swett
  • 43,526
  • 67
  • 220
  • 351
1
vote
1 answer

Confused about an auth0 lock example using react and redux

I'm looking through the auth0 sample project for using react, redux and auth0 for a login scenario here. However I'm a bit confused about this particular example where we call this.props.doAuthentication() // App.js import { loginUser, fetchQuote,…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

Choosing user ID in application that relies on Auth0 for Facebook authentication?

I'm creating a TODO list application using Angular and PHP. I use Auth0 to allow Facebook authentication and after the process completes the user is redirected to add TODO page. However, I'm confused on how to save that TODO item in my MySQL…
Uday Ghulaxe
  • 45
  • 1
  • 6
1
vote
1 answer

Auth0 PHP Fatal error: Uncaught Error: Class 'Dotenv\Dotenv' not found in

Well I'm stumped. I've been trying to work this out for several hours, plenty of Googles later and nothing. /rant. I'm new to Auth0 and figured I'd give it a go but I'm getting the error below. I'm using their PHP sample project which you can find…
James
  • 474
  • 4
  • 9
  • 22
1
vote
2 answers

http delete user with Auth0 apiv2

I am trying to delete a user based on id, on auth0 API v2 they give only the curl command. For the post method I managed to adapt it to angular2 http post, for some reason I cannot figure out how to use the delete request. the id looks like this id…
Avram Virgil
  • 1,170
  • 11
  • 22
1
vote
1 answer

Why is Auth0 so widley used with Angular2 authentication

I'm trying to implement Authentication with my angular2 app and have seen majority of tutorials use Auth0 as token authentication, but this requires me creating a account with them and possibly paying. Is there any resources where I can find…
Rossco
  • 3,563
  • 3
  • 24
  • 37
1
vote
0 answers

How to get native login with Auth0?

I am using Ionic2 and have FB login in my app. Currently my app logs users in by opening a web view to FB login but I would like it to use the native FB app to login. Any ideas on how to achieve this? I have this for the auth0 setup. auth0 = new…
Karlis Filipsons
  • 135
  • 1
  • 12
1
vote
1 answer

how to obtain a refresh token in Auth0 using Lock and react native

In a react native app, how do you obtain a refresh token. I see in the docs that you can call the refresh token endpoint directly via the delegation endpoint in the REST API - but is there a more abstracted way to do it using the Auth0 lock…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

Configure Lock with a redirect URL that requires authentication?

Is it normal that after authentication we cannot redirect to a path that require authentication (auth.loggedIn())? this.lock = new Auth0Lock(clientId, domain, { auth: { redirect:true, redirectUrl: 'http://localhost:3000/hello', …
elyrico
  • 519
  • 6
  • 19
1
vote
1 answer

How to customize Auth0 error page when there's a callback URL mismatch error?

I want to prevent my users from seeing the 'Oops something went wrong' error page when there is a callback URL mismatch. This will happen whenever a user saves a bookmark to an internal URL in my Angular 2 SPA. I have added a number of possible…
ckapilla
  • 1,148
  • 13
  • 25
1
vote
2 answers

Auth0 service unable to find container using Angular 2

I'm creating an Angular 2 SPA for learning purposes and integrating Auth0 for handeling the authentication. I have an auth.service.ts that is going to be called from difference places in my application, for example in the top-navbar to logout and on…
Sam
  • 1,303
  • 3
  • 23
  • 41
1
vote
1 answer

Exchange authorization_code for access_token and id_token not working using Auth0

I am using Auth0 sms passwordless login and I can login correctly and I am redirected correctly to my specified callback url: http://localhost:8000/authenticated?code=AUTHORIZATION_CODE. I have been following this tutorial but when I get to step 4…
Ruth
  • 614
  • 2
  • 6
  • 20
1
vote
2 answers

Why does my Auth0 id_token not contain any information about the user?

I started from this React sample application from Auth0 and login through Auth0 works fine but does not give me the expected token. After login the browser localStorage contains an id_token and a profile object. When I decode the id_token I see…
Nikola Schou
  • 2,386
  • 3
  • 23
  • 47
1 2 3
99
100