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
21
votes
4 answers

Auth0 error : Authorization server not configured with default connection

I am working om using Auth0 has authentication for services. I have the following problem. I have created a user but when I try to make a request with that user I get the following error. Authorization server not configured with default connection I…
Anton Cavanaugh
  • 719
  • 1
  • 4
  • 14
20
votes
2 answers

Aws cognito linkedin

I'm trying to add LinkedIn login to my react app that using Amazon Cognito, I did everything like explained here and yes it works but I'm not using Amazon Cognito hosted UI and I don't want my user to get redirected to Auth0 site to login with…
ronara
  • 336
  • 11
  • 26
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
19
votes
3 answers

How to make a username password request with auth0 custom api, getting error "unsupported grant type: password" error

I tried using the auth0 postman template to make an authentication request using username and password and I'm getting an unsupported grant type: password error. What am I doing wrong? var client = new…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
19
votes
4 answers

java-jwt with public/private keys

Auth0 provides two JWT libraries, one for Node: node-jsonwebtoken, and one for Java: java-jwt. I created the private/public key pair, and used it successfully in Node with node-jsonwebtoken: var key = fs.readFileSync('private.key'); var pem =…
Predrag Stojadinović
  • 3,439
  • 6
  • 34
  • 52
18
votes
4 answers

UnauthorizedError: invalid algorithm express-jwt

I am displaying some data on my website which returns from node server. It's works perfectly until today. Now I am getting below error on my server console when I go to my web page. I use Auth0 for signin in users. UnauthorizedError: invalid…
Bishan
  • 15,211
  • 52
  • 164
  • 258
17
votes
1 answer

Refreshing JWT token in Passportjs

I am using passport-openidconnect strategy which works well but the expiration of the session is short 3600 seconds and I don't think its changeable. Would I use the refresh token to get another token id? If I do where would I add that logic in…
Mike
  • 189
  • 1
  • 2
  • 18
17
votes
6 answers

Verifying Auth0 JWT throws invalid algorigthm

I have created an Auth0 client, I am logging in and receive this…
Roco CTZ
  • 1,107
  • 1
  • 16
  • 31
16
votes
2 answers

How to handle JWT revocation with MQTT

Following the instructions in this Auth0 article, I successfully authenticated MQTT clients using "JWT" as username and the JWT token as a password. In my use case, however, JWT tokens are short-lived. Clients must fetch a new token before the…
Arthur C
  • 1,274
  • 1
  • 14
  • 34
16
votes
7 answers

getting 403 disallowed user agent in Auth0 Lock for Android

integrated Auth0 login in my android application. for this integration i am following this one https://auth0.com/docs/libraries/lock-android its work fine previously, but now i am facing 403 disallowed user while click on google. while i am…
NareshRavva
  • 823
  • 3
  • 21
  • 50
15
votes
3 answers

Angular imported modules do not wait for APP_INITIALIZER

I'm trying to use the auth0/auth0-angular library in an Angular 11 app. I'm following the section on loading config dynamically. It provides this example app module code: // app.module.ts // --------------------------- import { AuthModule,…
Sam Williams
  • 565
  • 4
  • 11
15
votes
1 answer

'Could not load type 'Microsoft.Extensions.Primitives.InplaceStringBuilder' from assembly 'Microsoft.Extensions.Primitives

I am working on an ASP.NET Core v2.1 Razor Pages project in which I am working on implementing Auth0 for user authentication. After setting everything up, I attempted to build my project and am getting the following…
BenTen
  • 333
  • 1
  • 5
  • 17
15
votes
4 answers

How to use Auth0 with react-admin?

I'm trying to implement authentication using Auth0 in a react-admin v3 app. I need to implement an authProvider that talks with Auth0. This sounds like something that should be available somewhere, but the closest I could find was…
Vitor Baptista
  • 2,016
  • 1
  • 23
  • 28
15
votes
5 answers

Spring Security: Custom UserDetailsService not being called (using Auth0 authentication)

I'm new to the Spring framework, so I apologize in advance for any gaping holes in my understanding. I'm using Auth0 to secure my API, which works perfectly. My setup & config is the same as the suggested setup in the Auth0 documentation: //…
Joakim
  • 2,092
  • 1
  • 20
  • 23
15
votes
2 answers

Auth0 in Ionic2 gives Uncaught can't find relay frame in callback

I am trying to get Auth0 working in Browser using ionic run browser I have followed the guides from Auth0. I am using auth0-7.6.1.min.js lock/10.10.2/lock.min.js versions. navigation to Google login page happens, but the callback is failing…
n00b
  • 1,832
  • 14
  • 25