{"id":14989820,"url":"https://github.com/auth0-samples/auth0-angular-samples","last_synced_at":"2025-05-15T05:05:24.093Z","repository":{"id":15187114,"uuid":"77715767","full_name":"auth0-samples/auth0-angular-samples","owner":"auth0-samples","description":"Auth0 Integration Samples for Angular 2+ Applications","archived":false,"fork":false,"pushed_at":"2025-03-20T20:51:50.000Z","size":5735,"stargazers_count":286,"open_issues_count":19,"forks_count":460,"subscribers_count":44,"default_branch":"main","last_synced_at":"2025-05-15T05:05:14.208Z","etag":null,"topics":["angular","auth0","authentication","dx-sdk-quickstart","quickstart","spa"],"latest_commit_sha":null,"homepage":"https://auth0.com/docs/quickstart/spa/angular2","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auth0-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-12-30T23:31:12.000Z","updated_at":"2025-03-27T13:32:54.000Z","dependencies_parsed_at":"2024-05-02T10:29:29.172Z","dependency_job_id":"db9109b9-0a98-41f7-9920-ed52372c8d73","html_url":"https://github.com/auth0-samples/auth0-angular-samples","commit_stats":{"total_commits":450,"total_committers":36,"mean_commits":12.5,"dds":0.7044444444444444,"last_synced_commit":"09d96fb2235598132203a7eb76beb90d8a926652"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-angular-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-angular-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-angular-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-angular-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0-samples","download_url":"https://codeload.github.com/auth0-samples/auth0-angular-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276446,"owners_count":22043866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","auth0","authentication","dx-sdk-quickstart","quickstart","spa"],"created_at":"2024-09-24T14:18:58.263Z","updated_at":"2025-05-15T05:05:24.053Z","avatar_url":"https://github.com/auth0-samples.png","language":"TypeScript","readme":"# Auth0 Angular Samples\n\n[![CircleCI](https://circleci.com/gh/auth0-samples/auth0-angular-samples.svg?style=svg)](https://circleci.com/gh/auth0-samples/auth0-angular-samples)\n\nThese samples demonstrate how to add authentication to an Angular application with Auth0, using [auth0-angular](https://github.com/auth0/auth0-angular). Each folder contains a distinct application so that various Auth0 features can be viewed in isolation. You can read about these examples in our [Angular Quickstart](https://auth0.com/docs/quickstart/spa/angular).\n\nRead the [full tutorials on Auth0.com](https://auth0.com/docs/quickstart/spa/angular).\n\n## Embedded Integration Samples\n\nThese samples use Auth0's [universal login page](https://auth0.com/docs/hosted-pages/login) which offers the fastest, most secure, and most feature-rich way to add authentication to your app.\n\n## What is Auth0?\n\nAuth0 helps you to:\n\n- Add authentication with [multiple authentication sources](https://docs.auth0.com/identityproviders), either social like **Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce, among others**, or enterprise identity systems like **Windows Azure AD, Google Apps, Active Directory, ADFS or any SAML Identity Provider**.\n- Add authentication through more traditional **[username/password databases](https://docs.auth0.com/mysql-connection-tutorial)**.\n- Add support for **[linking different user accounts](https://docs.auth0.com/link-accounts)** with the same user.\n- Support for generating signed [Json Web Tokens](https://docs.auth0.com/jwt) to call your APIs and **flow the user identity** securely.\n- Analytics of how, when and where users are logging in.\n- Pull data from other sources and add it to the user profile, through [JavaScript rules](https://docs.auth0.com/rules).\n\n## Create a free Auth0 account\n\n1. Go to [Auth0](https://auth0.com/signup) and click Sign Up.\n2. Use Google, GitHub or Microsoft Account to login.\n\n### Auth0 Configuration for the Sample Application(s)\nThe example application(s) require to be configured with your Auth0 information in order to run succesfully.\nThis can be done by renaming `auth_config.json.example` (https://github.com/auth0-samples/auth0-angular-samples/blob/main/Sample-01/auth_config.json.example) to `auth_config.json` and replacing `{DOMAIN}`, `{CLIENT_ID}` and `{API_IDENTIFIER}` with your tenant specific values:\n\n```\n{\n  \"domain\": \"YOUR_DOMAIN\",\n  \"clientId\": \"YOUR_CLIENT_ID\",\n  \"authorizationParams\": {\n    \"audience\": \"{yourApiIdentifier}\",\n  },\n  \"apiUri\": \"http://localhost:3001\",\n  \"appUri\": \"http://localhost:4200\"\n}\n```\n\n\u003e **Domain** and **Client Id** can be found in the corresponding Application in the Auth0 Dashboard, while **Audience** needs to be set to the identifier of the API, found in the Auth0 Dashboard.\n\nAlso ensure the Application in Auth0 is configured to allow **http://localhost:4200** as a `Callback URL`, `Logout URL` and `Allowed Web Origin`.\n\n## Issue Reporting\n\nIf you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.\n\n## Author\n\n[Auth0](https://auth0.com)\n\n## Deploy to Netlify\nYou can deploy this example as a site on your own to explore and experiment with, by clicking this button.\nAfter deploy, install Auth0 by Okta extension in Netlify and follow the steps to create an App.\n\n\u003ca href=\"https://app.netlify.com/start/deploy?repository=https://github.com/auth0-samples/auth0-angular-samples\"\u003e\u003cimg src=\"https://www.netlify.com/img/deploy/button.svg\" alt=\"Deploy to Netlify\" height=30px\u003e\u003c/a\u003e\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","funding_links":[],"categories":["Projects Using Auth0"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-samples%2Fauth0-angular-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0-samples%2Fauth0-angular-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-samples%2Fauth0-angular-samples/lists"}