Newest 'auth0' Questions

Q&A for professional and enthusiast programmers

Auth0 is not a consutructor - AngularJS and auth0

I just followed this guide to add auth0 (for the first time ever) to my angularJS application. After clicking the login button, and entering my credentials, the screen reloads (with a URL that has ...

Auth0 and Google API, access token expired, howto write files to Google Drive

I've written an online converter and integrated Auth0 to my website. What I'm trying to achieve is to auto-upload the converted file to the Google Drive of a logged in user. I set up Google oauth in ...

What is proper way to redirect to page after successful login with Auth0?

After logging in to my app with Auth0, I am trying to subscribe to the successful completion of the login, then redirect to the page requested, but the line highlighted never gets called. Very new to ...

Unable to authenticate with Auth0 library on Android

I am trying to authenticate user mobile number with custom UI and auth0 1.4.0 android library, But while requesting for the SMS code following error is popping out com.auth0.android.authentication....

Can't get Auth0 JWT authentication in Rails 4 working with Knock

I've followed the quick start guide in Auth0 for Rails API here but sending authenticable requests to my Rails API always returns 500. There is a JWT in the header and I believe it is valid because ...

Enterprise login through AD connector fails

I have a problem logging in from our website using Lock through our Active Directory enterprise connection. I have observed the following: When I click Manage on the connection I can click 'Try' and ...

PHP Auth0 JWT Token generator invalid signature

I use Codeigniter and JWT-library to generate JWT token for my Auth0 API. If I check generated token on jwt.io and write my secret I decode token as well. When I try to use generated token on Auth0 ...

How to remove group from user in auth0

I am using auth0 for user security purpose. One user can have different application (Group) access. All application having admin who can see all users belongs to their particular group. E.g. UserA ...

Disable “email” Sign Up/Login in Lock

Disclaimer: This is more of an Auth0 Lock question--there isn't an "Auth0-Lock" tag yet, if someone with 1500+ rep wants to create one. Anyone know how or if there is a way to make it so Lock does ...

How to store users full name instead of email address in Auth0?

Overview When a user signs up to our service using an external authorisation provider such as Google or Facebook then the users name is stored as you'd expect in the Auth0 'name' field. However, when ...

Routing with hashtag approach breaks application Login

I am new to Angular 2 and I have the following problem with my routes. My app uses Auth0 for user authentication and i have my main page under http://localhost:3000/ and a profile page under http://...

The connection is not found error in auth0

I am using auth0 to maintain users details. and I am following This article. I downloaded project which is using default lock screen, and it's working fine, I am able to create user and login, logout....

.NET Web API 2 with CORS and Angular Not Working on First Post

I am using .Net ASP Web API V2 with Angular 1 and Auth0. After initial login through Auth0 I am getting the following error: XMLHttpRequest cannot load localhost:3001/profile. No 'Access-Control-...

Auth0 - Rules & Groups && User Management

I have created an account with Auth0 and I am trying to get a simple login for Angular 2 to our backend API. 1. What I am trying to do is to be able to access the roles in the API to see whether the ...

Web Api with Auth0 Authentication

I am working on Web Api call to authenticate using Auth0. I am able to get token but when I am making calls to Web Api to get it is giving UnAuthorize 401 even I am sending the Authorize. Below is my ...

ASP.NET Core Auth0 - Unable to unprotect the message.State

We have Auth0 enabled for a site and it has been working well for quite some time. All of a sudden when I enter the site and get redirected to Auth0 to enter my crendentials (and press login), I get ...

Password Strength in Auth0

Is it possible to active the Password Strength in Auth0 to Excellent in the free option subscription ? I don't see the option in the configutation file Thanks

Authentication in SPA using Auth0 and clients node.js server

Background I have two apps: Angular2 Single Page Application Node.JS with express I'd like to authenticate and authorize users logging into Angular2 app, by consuming API exposed by express server. ...

Auth0 login popup hide reset password section

I am using auth0 for login in my apppication. I need to height the reset password section from auth0 login popup how can i hide the Reset password section from auth0 login. Please suggest. I used ...

Auth0 office 365 integration Callback return Cannot POST / in Angular2

Auth0 office 365 integration Callbackurl returning "Cannot POST/" output

Auth0 - correct syntax for auth in controller?

I am using Auth0 in my angularjs 1.x.x app. The way I have the app set up is by using div ng-if="isAuthenticated" to display (and hide) divs in my templates. However, I want to be able to prevent API ...

Angular 2 Auth0 app works fine but tests throw 'Auth0Lock is not defined' error

I have successfully implemented Auth0 authentication in my Angular 2 app following documentation. I have installed auth0-lock, and typings for both auth0 and auth0-lock via npm install. My app works ...

Angular2 - EXCEPTION: Cannot read property 'af' of undefined

I'm building an Angular2 app using Auth0 for authentication and AngularFire for my database. In my constructor, I passed my AngularFire af instance, but I can't access it inside my callback event. Is ...

Auth0 ASP.NET backend validation fails using a API client

I have a working backend ASP.NET MVC web application using Auth0 for authentication. The backend is invoked using a webclient where users login (using the Auth0 login popup) and everything is good. ...

deocoding the token doesn't give user profile

I have been trying to solve this for several days. I followed the tutorial in Auth0's documentation. After decoding the token with express-jwt: export let headerJWTCheck = expressJwt({ secret: '**...

Linking Auth0 and Parse Server users

I am writing an app that uses Parse Server, with Auth0 as the authentication provider. For unrelated reasons, we need to use Auth0 rather than Parse for user management. I'm having trouble figuring ...

How to use Auth0 with hybrid mobile app and NodeJS

I am developing a hybrid mobile app based on ReactJS / Cordova, and the application needs to be authenticated via Auth0 to be able to talk to a server API (in Node.js/Express). The server API then ...

auth0 multiple clients architecture

I use auth0 as my auth2 provider. Let's assume I have 4 web application under the same company. Do I have to authorize the user with auth0 from each web server, or to build one server that is used as ...

Obtaining refresh_token through authentication api Auth0

How to obtain refresh_token along with the access_token while reissuing the access_token through authentication api of auth0 using resource owner flow? I have tried with the below code ...

OAuth 2.0 Scope parameter vs OAuth 2.0 JWT access_token scope claim

I was going through the following article on authorization: https://auth0.com/docs/quickstart/backend/aspnet-core-webapi/02-authorization It sort of confused me a bit. Auth0 uses a scope claim for ...

Can't connect to Auth0 Custom Login EmberJS (Ember2.9)

Auth0 offers a "Hosted Page" section on their Dashboard which allows you to create simple and custom login pages. I would like my application to redirect to this login page when a user is ...

Auth0 iOS SDK Custom Login with LinkedIn

I'm following the tutorial here to implement Auth0 custom login with LinkedIn. The sample code doesn't show to how login using LinkedIn. Is custom login with LinkedIn supported or I'm forced to use ...

how to check if there is an error in my jwt token angular2

how to check an error in my jwt token before in the time of creating an AuthGuard in angular2 . if someone edited my token or tampered my token or not import { Injectable } from '@angular/core'; ...

How do I create a ParseUser using Auth0 in Android

Parse and Auth0 is very useful for efficiently creating a backend and authentication for different social logins. I was not able to find any information in the web specific to Android. Can anyone ...

Use refresh_token to obtain new id_token with Auth0 Lock 10 / Auth0.js 8?

I need to use a refresh_token (which I have stored) to obtain a new id_token from Auth0. In version 9 of Auth0 Lock, there was a method to do this (as documented here): lock.getClient().refreshToken(...

How to remove roles from user in auth0

I am using This Link for creating token and retrieving user data including roles. Now, I want to update role. I am not using JavaScript. I am using ASP.NET only. How to achieve this? If possible ...

How do I redirect to different pages with Auth0 and Lock in Angular 1?

I'm using Auth0 and Lock 10 and I'm having a lot of trouble figuring out how to customise lock correctly. In angular's config phase, lockProvider.init provides the "redirectUrl" parameter, as per the ...

How to perform action when auth0 Android passwordless auth is completed

trying to implement passwordless auth on android using auth0. I can get auth0 to add a user/send them an using the below method: .start(new BaseCallback<Void, AuthenticationException>() { ...

Auth0 application redirect back to original URL in Apache WebApp

Note: Similar questions deal with either Auth0 with Angular or are several years out of date and refer to previous versions. We're using Auth0 to provide authentication for a group of applications ...

passing a query string parameter through auth0 to the app

I have an ASP.NET + OWIN app. I have auth0 setup using the nuget package they provide. Log In/Out works as expected. I'm trying to create a kind of invite system. When a record is created in the ...

Auth0 : Is there any way to make user get user logged in automatically if arrive in web application from app?

I am having web ionic app with angular js and web application in asp.net and both is having authentication using Auth0. Now case is , I have one page in web application which is opened in mobile ...

OAuth2 flow understanding

Im trying to understand how to secure my application. I chose to work with Auth0 to manage my users and apps. I've seen this flow: Im trying to understand this flow, but I miss something. Lets say I ...

LastPass buttons not appearing on Auth0 Lock 10 UI

I am using Auth0 Lock 10 to present the Login UI in my web app. When the page loads the Lock control (shown below) shows, but the Lastpass buttons (on the email and password inputs) are not appearing ...

get Auth0 user profile when first login success too late

I encountered the following sitiation: I use Auth0 for user authentication. When I first login, I have an auth.service that retrieves the user profile and stores it in local storage. This service is ...

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 = ...

Benefits of using Auth0 with a Parse Server/React Native application?

I'm wondering about additional complexities involved in integrating with Auth0 vs plenty of available code for password complexity rules, UI etc. including using snowflake starter app, for ...

auth0 is not returning roles information

I am using auth0 for authentication. I want to fetch all users including their roles. I generated token in auth0 and when I try to execute it in Postman or fiddler tool, Sometimes it's giving roles ...

auth0 compatibility with java spring security [closed]

Any one having experience with web application based on spring security and auth0. Tomcat is unable to pick up filters securityfilterchaining injected by auth0. Thanks Zubair

Auth0 with Angular 2: form does not show when navigating back

In my login component I use the following: ngOnInit() { this.lock.magiclink({ container:"login", callbackURL:"http://localhost:3000", responseType:"token"}); } which ...

Remove Auth0 for android social account auto login

So I have implemented Lock for Android by Auth0. Already set up login/logout together with social accounts. The problem is whenever a user logs in using a social account, let's say Facebook, and the ...
Translating... 0%