# Angular: Where is the documentation for auth\_config.json

**URL:** <https://community.auth0.com/t/angular-where-is-the-documentation-for-auth-config-json/138351>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, auth0-angular\
**Created:** [July 8, 2024, 11:28am UTC](https://community.auth0.com/t/angular-where-is-the-documentation-for-auth-config-json/138351 "2024-07-08T11:28:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seref.arikan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/seref.arikan/32/60177_2.png) [@seref.arikan](https://community.auth0.com/u/seref.arikan)\
**Post date:** [July 8, 2024, 11:28am UTC](https://community.auth0.com/t/angular-where-is-the-documentation-for-auth-config-json/138351/1 "2024-07-08T11:28:57Z")

</div>

I cannot find the documentation that lists what fields should/could be in auth\_config.js and what they do. In particular I am confused about what “apiUri” and “appUri” settings do.  
These exist in the Angular examples but I cannot see any explanation anywhere. Google searches did not reveal anything useful either.

---

<div class="post-metadata">

**Author:** ![petre.timotei](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@petre.timotei](https://community.auth0.com/u/petre.timotei)\
**Post date:** [October 3, 2024, 2:09pm UTC](https://community.auth0.com/t/angular-where-is-the-documentation-for-auth-config-json/138351/3 "2024-10-03T14:09:56Z")

</div>

Hi @seref.arikan,

Welcome to the Auth0 Community!

The API endpoint that the Angular application communicates for authentication is specifically specified in the “`apiUri`” parameter. This is required for API authorization and is closely tied to the audience parameter.  
This is because when a user logs in to your auth0 application, it can request an Access Token. This token can perform authorized queries to the API.

Basically, your API verifies that the access token is for the specified API by validating it. The API should handle the request if the token is validated. If not, then the Access Token will be denied.

Example:  
`apiUri: 'https://{{your-api-url}}.com' //This is the API you will access`

In summary, `apiUri` represents the API endpoints that the Angular application requires. Setting up an audience for token validation typically involves this.

Please check some of the articles and documentation referring to `auth_config.js` for Angular:

- [AuthConfig | @auth0/auth0-angular](https://auth0.github.io/auth0-angular/interfaces/AuthConfig.html)
- [The Complete Guide to Angular User Authentication with Auth0](https://auth0.com/blog/complete-guide-to-angular-user-authentication/)
- [GitHub - auth0-blog/auth0-angular-sample: Angular project that defines a Single-Page Application (SPA)](https://github.com/auth0-blog/auth0-angular-sample)
- [Setting up Auth0 with Angular](https://community.auth0.com/t/setting-up-auth0-with-angular/95357)

Please let me know if this helps and if you have any follow-up questions.

Thanks,  
Timotei

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 17, 2024, 2:10pm UTC](https://community.auth0.com/t/angular-where-is-the-documentation-for-auth-config-json/138351/4 "2024-10-17T14:10:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
