# \#angular

**URL:** https://community.auth0.com/tag/angular/20.md

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

---

## [Auth0 Ionic/Capacitor - I need my claim info before I move to next page after login](https://community.auth0.com/t/auth0-ionic-capacitor-i-need-my-claim-info-before-i-move-to-next-page-after-login/85841)

<div class="topic-metadata">

**Author:** [@robtown](https://community.auth0.com/u/robtown)\
**Replies:** 1\
**Last updated:** [December 11, 2024, 10:05pm UTC](https://community.auth0.com/t/auth0-ionic-capacitor-i-need-my-claim-info-before-i-move-to-next-page-after-login/85841 "2024-12-11T22:05:17Z")

</div>

Please include the following information in your post: I’m using Auth0 for our Ionic/Capacitor app. Angular flavored. I need my claim info immediately after login but before I get to my tabbed pages, so I can determine…

---

## [AuthHttpInterceptor not adding token](https://community.auth0.com/t/authhttpinterceptor-not-adding-token/140016)

<div class="topic-metadata">

**Author:** [@mbores](https://community.auth0.com/u/mbores)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 2:41pm UTC](https://community.auth0.com/t/authhttpinterceptor-not-adding-token/140016 "2024-07-31T14:41:38Z")

</div>

I’m adding Auth0 to an existing Angular 13 web app, and I have certain API calls in my app that need to know the user’s email for authorization purposes. Including the email address in the body can be altered/faked, allo…

---

## [Angular and .NET 6 integrated](https://community.auth0.com/t/angular-and-net-6-integrated/124647)

<div class="topic-metadata">

**Author:** [@lahiru.gambheera](https://community.auth0.com/u/lahiru.gambheera)\
**Replies:** 1\
**Last updated:** [January 19, 2024, 4:18pm UTC](https://community.auth0.com/t/angular-and-net-6-integrated/124647 "2024-01-19T16:18:11Z")

</div>

I’m wring an client server application with Angular and .NET 6 to implement Autherization and Autherization with Auth0. Here I’m following Authorization Code Flow These are the steps that I have followed Created Single…

---

## [AuthHttpInterceptor doesn't add token to authorization header - Error 401 unauthorized - Angular](https://community.auth0.com/t/authhttpinterceptor-doesnt-add-token-to-authorization-header-error-401-unauthorized-angular/97652)

<div class="topic-metadata">

**Author:** [@antonia7](https://community.auth0.com/u/antonia7)\
**Replies:** 1\
**Last updated:** [January 13, 2023, 2:32pm UTC](https://community.auth0.com/t/authhttpinterceptor-doesnt-add-token-to-authorization-header-error-401-unauthorized-angular/97652 "2023-01-13T14:32:27Z")

</div>

Hi everyone, I need help with a problem adding token to the authorization header in an Angular HttpClient call, the token doesn’t work and I get a 401 “unauthorized” error. I followed this documentation to implement the…

---

## [httpInterceptor does not add authorization header](https://community.auth0.com/t/httpinterceptor-does-not-add-authorization-header/99049)

<div class="topic-metadata">

**Author:** [@guillaume.canu78](https://community.auth0.com/u/guillaume.canu78)\
**Replies:** 3\
**Last updated:** [January 31, 2023, 11:45pm UTC](https://community.auth0.com/t/httpinterceptor-does-not-add-authorization-header/99049 "2023-01-31T23:45:47Z")

</div>

Hello, I know this topics has been asked many times already but I did not find a solution. I followed all steps from Auth0 turials to add Auth0 authentication on an Angular App, but after many hours, I can’t do a reques…

---

## [Angular Loader Issue](https://community.auth0.com/t/angular-loader-issue/96471)

<div class="topic-metadata">

**Author:** [@aajmeri](https://community.auth0.com/u/aajmeri)\
**Replies:** 3\
**Last updated:** [December 15, 2022, 10:36am UTC](https://community.auth0.com/t/angular-loader-issue/96471 "2022-12-15T10:36:31Z")

</div>

I am using Angular 9 and Auth0 SDK is giving this exception… please help asp ERROR in ./node\_modules/@auth0/auth0-spa-js/dist/auth0-spa-js.production.esm.j Module parse failed: Cannot read property ‘length’ of undefine…

---

## [Angular organization login missing organization\_id in JWT](https://community.auth0.com/t/angular-organization-login-missing-organization-id-in-jwt/92057)

<div class="topic-metadata">

**Author:** [@openbridge-james](https://community.auth0.com/u/openbridge-james)\
**Replies:** 3\
**Last updated:** [October 17, 2022, 6:12pm UTC](https://community.auth0.com/t/angular-organization-login-missing-organization-id-in-jwt/92057 "2022-10-17T18:12:59Z")

</div>

I have an Angular application that we have been using with auth0 for a while. We are working on integrating organization support into the code base. In our app we have a component that is use to manage regular vs organ…

---

## [Angular dynamic menu based on roles](https://community.auth0.com/t/angular-dynamic-menu-based-on-roles/86769)

<div class="topic-metadata">

**Author:** [@Latz](https://community.auth0.com/u/Latz)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 11:40pm UTC](https://community.auth0.com/t/angular-dynamic-menu-based-on-roles/86769 "2022-07-11T23:40:42Z")

</div>

I would like to display menu item depending on user roles in an Angular application (without API and Backend). The login with auth0 works. I have created roles and permissions. How do I get to the roles in angular-auth…

---

## [Angular that would call different microservices](https://community.auth0.com/t/angular-that-would-call-different-microservices/85935)

<div class="topic-metadata">

**Author:** [@michael.delacruz7](https://community.auth0.com/u/michael.delacruz7)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 6:36pm UTC](https://community.auth0.com/t/angular-that-would-call-different-microservices/85935 "2022-06-28T18:36:56Z")

</div>

Hi guys, I am new to Auth0 and trying my luck to understand it very well. My plan is to create a frontend (Angular) that would call different microservices (Rest/API) with single authentication and authorization once the…

---

## [Include user roles in JWT with auth0-angular?](https://community.auth0.com/t/include-user-roles-in-jwt-with-auth0-angular/85181)

<div class="topic-metadata">

**Author:** [@PhoenixG](https://community.auth0.com/u/PhoenixG)\
**Replies:** 1\
**Last updated:** [June 21, 2022, 11:47pm UTC](https://community.auth0.com/t/include-user-roles-in-jwt-with-auth0-angular/85181 "2022-06-21T23:47:32Z")

</div>

Updating an Angular SPA in an existing system to use Auth0 instead. It mostly works! Users can log in, and there is a custom user role guard for routing, so the application at least has all the required information (eg, …

---

## [How can I get acess\_token of my API in Angular app?](https://community.auth0.com/t/how-can-i-get-acess-token-of-my-api-in-angular-app/85190)

<div class="topic-metadata">

**Author:** [@leonardo.lima](https://community.auth0.com/u/leonardo.lima)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 8:43pm UTC](https://community.auth0.com/t/how-can-i-get-acess-token-of-my-api-in-angular-app/85190 "2022-06-16T20:43:28Z")

</div>

I try to get the access token of my API and I have CORS error on the console: Access to XMLHttpRequest at ‘https://altatechti.us.auth0.com/oauth/token’ from origin ‘http://localhost:4200’ has been blocked by CORS polic…

---

## [Angular isAuthenticated state is lost on refresh](https://community.auth0.com/t/angular-isauthenticated-state-is-lost-on-refresh/82704)

<div class="topic-metadata">

**Author:** [@austin-bmn](https://community.auth0.com/u/austin-bmn)\
**Replies:** 8\
**Last updated:** [May 16, 2022, 4:26pm UTC](https://community.auth0.com/t/angular-isauthenticated-state-is-lost-on-refresh/82704 "2022-05-16T16:26:35Z")

</div>

Hi there, I have been working on developing an Angular front end to communicate with a .net 6 API. I have chosen Auth0 for my authentication framework. I have followed the Angular quickstart to get up and running with m…

---

## [\[Angular\] How to revoke a refresh token on logout?](https://community.auth0.com/t/angular-how-to-revoke-a-refresh-token-on-logout/81802)

<div class="topic-metadata">

**Author:** [@taras.hupalo](https://community.auth0.com/u/taras.hupalo)\
**Replies:** 1\
**Last updated:** [April 29, 2022, 5:05pm UTC](https://community.auth0.com/t/angular-how-to-revoke-a-refresh-token-on-logout/81802 "2022-04-29T17:05:03Z")

</div>

Please include the following information in your post: Which SDK this is regarding: e.g. auth0-angular SDK Version: e.g. 1.9.0 Platform Version: e.g. Angular 13.2.6 Code Snippets/Error Messages/Supporting Details/Sc…

---

## [Auth0 expertize wanted (connecting php/angular app)](https://community.auth0.com/t/auth0-expertize-wanted-connecting-php-angular-app/79024)

<div class="topic-metadata">

**Author:** [@it-phoenix](https://community.auth0.com/u/it-phoenix)\
**Replies:** 2\
**Last updated:** [March 10, 2022, 8:42am UTC](https://community.auth0.com/t/auth0-expertize-wanted-connecting-php-angular-app/79024 "2022-03-10T08:42:48Z")

</div>

Hello Community My company and I are currently looking for an Auth0 expert/consultant to help to connect our two application to Auth0 API. We already reported the issue and ask Auth0 for help without success, so we hop…

---

## [Create Your First Custom Angular CLI Schematic with Nx](https://community.auth0.com/t/create-your-first-custom-angular-cli-schematic-with-nx/18521)

<div class="topic-metadata">

**Author:** [@sam.julien](https://community.auth0.com/u/sam.julien)\
**Replies:** 4\
**Last updated:** [July 20, 2020, 8:53pm UTC](https://community.auth0.com/t/create-your-first-custom-angular-cli-schematic-with-nx/18521 "2020-07-20T20:53:57Z")

</div>

Learn how to create applications, libraries, and custom workspace CLI schematics with the enterprise Angular tool Nx.

---

## [Adding Auth0 to an Ionic Angular App Using Auth Connect](https://community.auth0.com/t/adding-auth0-to-an-ionic-angular-app-using-auth-connect/32692)

<div class="topic-metadata">

**Author:** [@ramiro](https://community.auth0.com/u/ramiro)\
**Replies:** 4\
**Last updated:** [April 17, 2020, 4:48pm UTC](https://community.auth0.com/t/adding-auth0-to-an-ionic-angular-app-using-auth-connect/32692 "2020-04-17T16:48:56Z")

</div>

Learn how to secure your Ionic app by adding user authentication with Auth0 and Ionic Auth Connect. Read on :mobile\_phone: Brought to you by #GuestAuth0r Matt Netkow :united\_states:

---

## [A Guide to Angular 8's Differential Loading](https://community.auth0.com/t/a-guide-to-angular-8s-differential-loading/26466)

<div class="topic-metadata">

**Author:** [@ramiro](https://community.auth0.com/u/ramiro)\
**Replies:** 3\
**Last updated:** [February 12, 2020, 4:42pm UTC](https://community.auth0.com/t/a-guide-to-angular-8s-differential-loading/26466 "2020-02-12T16:42:18Z")

</div>

Angular 8 now sends separate bundles to legacy browsers by default. Learn more about this new Angular feature, differential loading, in this article. Brought to you by @sam.julien :man\_technologist:t2: Read on …

---

## [Angular Finland: The Big Hangout](https://community.auth0.com/t/angular-finland-the-big-hangout/22862)

<div class="topic-metadata">

**Author:** [@ramiro](https://community.auth0.com/u/ramiro)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 2:19pm UTC](https://community.auth0.com/t/angular-finland-the-big-hangout/22862 "2019-03-20T14:19:17Z")

</div>

Auth0’s Sam Julien spoke at The Big Hangout, a mini-conference hosted by Angular Finland. Read on :a\_button\_blood\_type:\>\> Recap of Angular Finland: The Big Hangout 2019 Conference

---

## [Cannot refresh token, getting Login Error message](https://community.auth0.com/t/cannot-refresh-token-getting-login-error-message/76915)

<div class="topic-metadata">

**Author:** [@ihar.charnetski](https://community.auth0.com/u/ihar.charnetski)\
**Replies:** 1\
**Last updated:** [January 25, 2022, 4:55pm UTC](https://community.auth0.com/t/cannot-refresh-token-getting-login-error-message/76915 "2022-01-25T16:55:20Z")

</div>

In an Angular app I’m trying to refresh token (when user activation state is updated) via the following code auth0Service.getAccessTokenSilently({ignoreCache: true}) And getting the following error Error: Login requir…

---

## [Resume previous session after impersonation](https://community.auth0.com/t/resume-previous-session-after-impersonation/76800)

<div class="topic-metadata">

**Author:** [@alexandru](https://community.auth0.com/u/alexandru)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 6:14pm UTC](https://community.auth0.com/t/resume-previous-session-after-impersonation/76800 "2022-01-21T18:14:26Z")

</div>

After impersonating a user, is there a way to tell that the current session is an impersonation and allow to go back to the previous session, without asking the user to logout and login again? I’m using @auth0/auth0-ang…

---

## [Consent Required but no prompt when calling API](https://community.auth0.com/t/consent-required-but-no-prompt-when-calling-api/75228)

<div class="topic-metadata">

**Author:** [@andrew.groat](https://community.auth0.com/u/andrew.groat)\
**Replies:** 5\
**Last updated:** [January 10, 2022, 9:21am UTC](https://community.auth0.com/t/consent-required-but-no-prompt-when-calling-api/75228 "2022-01-10T09:21:43Z")

</div>

Hi, I’m attempting to call a web api that I have created in dotnet core 5 from my Angular application. I’ve followed the quickstarts, Call an API, and ASP.NET Core Web API. When I setup my Angular app to call the user…

---

## [Authentication token not in JWT format](https://community.auth0.com/t/authentication-token-not-in-jwt-format/75866)

<div class="topic-metadata">

**Author:** [@JoSSte](https://community.auth0.com/u/JoSSte)\
**Replies:** 4\
**Last updated:** [January 6, 2022, 3:00pm UTC](https://community.auth0.com/t/authentication-token-not-in-jwt-format/75866 "2022-01-06T15:00:01Z")

</div>

I am starting my journey into securing an app with auth0 for the first time. I have previously written applications that generated jwt tokens and verified them using the php-auth0 library with success. This first time u…

---

## [.NET Core Angular 401 when calling API](https://community.auth0.com/t/net-core-angular-401-when-calling-api/71413)

<div class="topic-metadata">

**Author:** [@richardrflores](https://community.auth0.com/u/richardrflores)\
**Replies:** 2\
**Last updated:** [October 28, 2021, 12:13pm UTC](https://community.auth0.com/t/net-core-angular-401-when-calling-api/71413 "2021-10-28T12:13:30Z")

</div>

Hi, I have a .NET Core Angular app that has been setup to make secure calls to an API using but I’m getting a 401error when the client application makes the call to the API. This issue has been reported several times, …

---

## [How to get login error information in the redirect destination page, at login callback?](https://community.auth0.com/t/how-to-get-login-error-information-in-the-redirect-destination-page-at-login-callback/71331)

<div class="topic-metadata">

**Author:** [@Yas](https://community.auth0.com/u/Yas)\
**Replies:** 2\
**Last updated:** [October 25, 2021, 6:39am UTC](https://community.auth0.com/t/how-to-get-login-error-information-in-the-redirect-destination-page-at-login-callback/71331 "2021-10-25T06:39:59Z")

</div>

that’s a very simle issue. currently, my app (SPA, Angular 12) has only 3pages. root, logincallback and error. redirectUri: http://localhost:4200/logincallback errorPath: /error in this case, if a blocked user try to …

---

## [Support for non default audience in auth0-angular](https://community.auth0.com/t/support-for-non-default-audience-in-auth0-angular/70619)

<div class="topic-metadata">

**Author:** [@jack.macdonald](https://community.auth0.com/u/jack.macdonald)\
**Replies:** 3\
**Last updated:** [October 7, 2021, 8:45am UTC](https://community.auth0.com/t/support-for-non-default-audience-in-auth0-angular/70619 "2021-10-07T08:45:10Z")

</div>

@auth0/auth0-angular - latest version (currently 1.7.0) Hi, We’re struggling with the lack of support for non default audiences in auth0-angular. On auth0-spa-js it’s possible to pass audience as a parameter to methods…

---

## [Nickname contains the beginning of the email address instead of the provided username](https://community.auth0.com/t/nickname-contains-the-beginning-of-the-email-address-instead-of-the-provided-username/68351)

<div class="topic-metadata">

**Author:** [@jodi](https://community.auth0.com/u/jodi)\
**Replies:** 8\
**Last updated:** [August 30, 2021, 7:40pm UTC](https://community.auth0.com/t/nickname-contains-the-beginning-of-the-email-address-instead-of-the-provided-username/68351 "2021-08-30T19:40:49Z")

</div>

Hi all, I have turned on the “requires username” switch in the database - Username-Password-Authentication settings. Auth0 indeed asks the user for a username when signing up now. However, when fetching the user using …

---

## [Can't make post request from angular to C# net core api](https://community.auth0.com/t/cant-make-post-request-from-angular-to-c-net-core-api/68337)

<div class="topic-metadata">

**Author:** [@sjpereyra\_dev](https://community.auth0.com/u/sjpereyra_dev)\
**Replies:** 3\
**Last updated:** [August 26, 2021, 9:14am UTC](https://community.auth0.com/t/cant-make-post-request-from-angular-to-c-net-core-api/68337 "2021-08-26T09:14:48Z")

</div>

i’m trying to post information to my backend, wich is .Net 5 from my angular12 SPA with something like this return this.http.post(‘https://localhost:44307/something/postRequest’, data); always returns error 401 unautho…

---

## [Auth Not Working for Protected API - Query Param configuration missing? (Angular & Node)](https://community.auth0.com/t/auth-not-working-for-protected-api-query-param-configuration-missing-angular-node/67783)

<div class="topic-metadata">

**Author:** [@EyeG](https://community.auth0.com/u/EyeG)\
**Replies:** 14\
**Last updated:** [August 17, 2021, 6:58pm UTC](https://community.auth0.com/t/auth-not-working-for-protected-api-query-param-configuration-missing-angular-node/67783 "2021-08-17T18:58:39Z")

</div>

Hey Auth0 Community, I followed the quickstart guide via Youtube to set up an Angular app to use Auth0. Overall, it was extremely helpful. My login/logout is working. My route guards are working. My problem: My API ca…

---

## [Can I use my own login page rather than the provided one (Angular 12)?](https://community.auth0.com/t/can-i-use-my-own-login-page-rather-than-the-provided-one-angular-12/67636)

<div class="topic-metadata">

**Author:** [@rafi](https://community.auth0.com/u/rafi)\
**Replies:** 1\
**Last updated:** [August 11, 2021, 8:40pm UTC](https://community.auth0.com/t/can-i-use-my-own-login-page-rather-than-the-provided-one-angular-12/67636 "2021-08-11T20:40:59Z")

</div>

Which SDK this is regarding: e.g. auth0-angular SDK Version: e.g. 1.6.0 Platform Version: e.g. Angular 12 We would like to build our own custom login page, rather than use the one provided by Auth0 and customize it.…

---

## [Angular frontend communicating with FastAPI does not seem to send the my custom scopes](https://community.auth0.com/t/angular-frontend-communicating-with-fastapi-does-not-seem-to-send-the-my-custom-scopes/66244)

<div class="topic-metadata">

**Author:** [@evert](https://community.auth0.com/u/evert)\
**Replies:** 5\
**Last updated:** [July 19, 2021, 3:29pm UTC](https://community.auth0.com/t/angular-frontend-communicating-with-fastapi-does-not-seem-to-send-the-my-custom-scopes/66244 "2021-07-19T15:29:50Z")

</div>

I have based on your examples created an Angular 11 SPA (running locally on port 4200) which communicates with a FastAPI based backend (running locally on localhost port 8080). I am using the package ‘fastapi-auth0’. Now…

[Next page](https://community.auth0.com/tag/angular/20.md?match_all_tags=true&page=1&tags%5B%5D=angular)
