# \#angularjs

**URL:** https://community.auth0.com/tag/angularjs/533.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Logging out a User (XHR)](https://community.auth0.com/t/logging-out-a-user-xhr/40833)

<div class="topic-metadata">

**Author:** [@dylanz](https://community.auth0.com/u/dylanz)\
**Replies:** 1\
**Last updated:** [April 10, 2020, 7:30am UTC](https://community.auth0.com/t/logging-out-a-user-xhr/40833 "2020-04-10T07:30:01Z")

</div>

Hello! I’m working on an Angular JS application and while the login process is working, the logout process isn’t. I have a “logout” link that calls a function that runs something like so: $http({ url: 'https://mydom…

---

## [How to customize error messages in lockPasswordless?](https://community.auth0.com/t/how-to-customize-error-messages-in-lockpasswordless/10779)

<div class="topic-metadata">

**Author:** [@harald.andertun](https://community.auth0.com/u/harald.andertun)\
**Replies:** 1\
**Last updated:** [April 12, 2018, 10:49pm UTC](https://community.auth0.com/t/how-to-customize-error-messages-in-lockpasswordless/10779 "2018-04-12T22:49:59Z")

</div>

Hi, How can I customize the error messages in lockPasswordless.? I have seen this: Customize Lock Error Messages - Auth0 Docs but that doesn’t work for lockPasswordless. I want to translate the error messages to other…

---

## [Unable to redirect to proper URL](https://community.auth0.com/t/unable-to-redirect-to-proper-url/9477)

<div class="topic-metadata">

**Author:** [@aqeelsmith](https://community.auth0.com/u/aqeelsmith)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 10:31am UTC](https://community.auth0.com/t/unable-to-redirect-to-proper-url/9477 "2018-02-14T10:31:06Z")

</div>

Hi Team , I am using LOCK 11 in my application with html5mode disabled . The redirect url I have specified as http://192.168.31.160:8000/#/subscribe but whenever I try logging in , it redirects to http://192.168.31.160:8…

---

## [MFA not working since upgrading to Auth0 v9 and Lock v11](https://community.auth0.com/t/mfa-not-working-since-upgrading-to-auth0-v9-and-lock-v11/9344)

<div class="topic-metadata">

**Author:** [@alex\_oseigyau](https://community.auth0.com/u/alex_oseigyau)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 6:34pm UTC](https://community.auth0.com/t/mfa-not-working-since-upgrading-to-auth0-v9-and-lock-v11/9344 "2018-12-14T18:34:16Z")

</div>

The developer environment is: We are running a Single Page Application The SPA is running on Angular 1.x We were using Auth v8 and Lock v10 previously We are using the thin Angular 1.x wrappers for the above libraries P…

---

## [How to initialize 'angularAuth0Provider' without static variables with Angularjs(1.6.4)](https://community.auth0.com/t/how-to-initialize-angularauth0provider-without-static-variables-with-angularjs-1-6-4/9263)

<div class="topic-metadata">

**Author:** [@hiramgm](https://community.auth0.com/u/hiramgm)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 6:04pm UTC](https://community.auth0.com/t/how-to-initialize-angularauth0provider-without-static-variables-with-angularjs-1-6-4/9263 "2018-12-14T18:04:57Z")

</div>

My application is in Heroku, it’s developed in Angularjs (1.6.4), I have some varibles in Heroku, I can access them through the server, I made an API to return the varibles by means of a request with the GET method, ever…

---

## [401 when calling API (Spring) in a SPA (AngularJS)](https://community.auth0.com/t/401-when-calling-api-spring-in-a-spa-angularjs/9188)

<div class="topic-metadata">

**Author:** [@daniel.steger](https://community.auth0.com/u/daniel.steger)\
**Replies:** 2\
**Last updated:** [January 17, 2018, 9:44pm UTC](https://community.auth0.com/t/401-when-calling-api-spring-in-a-spa-angularjs/9188 "2018-01-17T21:44:53Z")

</div>

In my AngularJS SPA, the Implicit Grant flow is used. When a user logs in, the SPA gets an id\_token and an access\_token. When the SPA calls a simple Spring API that is protected, the header is set with the access\_token (…

---

## [AngularJS no longer getting back access token](https://community.auth0.com/t/angularjs-no-longer-getting-back-access-token/8828)

<div class="topic-metadata">

**Author:** [@samuel.duzett](https://community.auth0.com/u/samuel.duzett)\
**Replies:** 1\
**Last updated:** [November 27, 2017, 10:51pm UTC](https://community.auth0.com/t/angularjs-no-longer-getting-back-access-token/8828 "2017-11-27T22:51:46Z")

</div>

As of today, my AngularJS client’s .parseHash() function no longer gives me an accessToken (null), but it DOES give me an idToken. I don’t think I changed anything related to this, but am open to the possibility that som…

---

## [Difficulties in implementing Lock in Phonegap Cordova](https://community.auth0.com/t/difficulties-in-implementing-lock-in-phonegap-cordova/8695)

<div class="topic-metadata">

**Author:** [@contas](https://community.auth0.com/u/contas)\
**Replies:** 1\
**Last updated:** [November 8, 2017, 6:11pm UTC](https://community.auth0.com/t/difficulties-in-implementing-lock-in-phonegap-cordova/8695 "2017-11-08T18:11:34Z")

</div>

Our mobile app is built on Angular 1.x.x in Phonegap Cordova, and we are facing a couple of difficulties in implementing Lock. Google Social connection is blocking webview Oauth requests. Implementing Persistent author…

---

## [How do I run an angularjs script to get a json token response?](https://community.auth0.com/t/how-do-i-run-an-angularjs-script-to-get-a-json-token-response/8541)

<div class="topic-metadata">

**Author:** [@ghopshtein](https://community.auth0.com/u/ghopshtein)\
**Replies:** 0\
**Last updated:** [October 21, 2017, 3:00am UTC](https://community.auth0.com/t/how-do-i-run-an-angularjs-script-to-get-a-json-token-response/8541 "2017-10-21T03:00:21Z")

</div>

Hello Everyone, I am a total n00b and dont know what I am doing. I dont even know if this is the correct place to do this. I have a script from a JWT plugin for wordpress. I need to parse this to get my token. I just d…

---

## [How to allow a user to modify another user's app\_metadata?](https://community.auth0.com/t/how-to-allow-a-user-to-modify-another-users-app-metadata/8414)

<div class="topic-metadata">

**Author:** [@jordan.eliastam](https://community.auth0.com/u/jordan.eliastam)\
**Replies:** 4\
**Last updated:** [October 12, 2017, 10:53pm UTC](https://community.auth0.com/t/how-to-allow-a-user-to-modify-another-users-app-metadata/8414 "2017-10-12T22:53:56Z")

</div>

We need to allow a user with an elevated role to set/modify the role of other users. Currently we are storing their role in their app\_metadata. How can we allow someone to modify someone else’s app\_metadata from within…

---

## [Does anyone have an AngularJS 1.5 client working?](https://community.auth0.com/t/does-anyone-have-an-angularjs-1-5-client-working/8036)

<div class="topic-metadata">

**Author:** [@rmaurer](https://community.auth0.com/u/rmaurer)\
**Replies:** 0\
**Last updated:** [August 31, 2017, 8:24am UTC](https://community.auth0.com/t/does-anyone-have-an-angularjs-1-5-client-working/8036 "2017-08-31T08:24:50Z")

</div>

What is the recommended Auth0 setup for Angular JS 1.5? I need to be able to support Social Connections such as Google and LinkedIn. I need to be able to make API calls to the social connection, that is, I need to be a…

---

## [requireJS and auth0-lock issue](https://community.auth0.com/t/requirejs-and-auth0-lock-issue/7573)

<div class="topic-metadata">

**Author:** [@jordan.eliastam](https://community.auth0.com/u/jordan.eliastam)\
**Replies:** 3\
**Last updated:** [August 8, 2017, 8:53pm UTC](https://community.auth0.com/t/requirejs-and-auth0-lock-issue/7573 "2017-08-08T20:53:03Z")

</div>

Our build process is generating an error for auth0-lock. It seems to be trying to pull in a file, namely core.js. The issue is it is looking for it relative to the root of the application (spoiler: that’s not where it …
