{"id":15194952,"url":"https://github.com/auth0/angular-auth0","last_synced_at":"2025-10-22T19:45:11.000Z","repository":{"id":42653367,"uuid":"65568172","full_name":"auth0/angular-auth0","owner":"auth0","description":"Angular 1.x Wrapper for Auth0.js v9 and higher","archived":true,"fork":false,"pushed_at":"2023-10-25T22:59:41.000Z","size":201,"stargazers_count":24,"open_issues_count":0,"forks_count":22,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-09-24T21:04:31.143Z","etag":null,"topics":["angular","dx-sdk"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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.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}},"created_at":"2016-08-12T16:34:28.000Z","updated_at":"2024-07-09T09:44:55.000Z","dependencies_parsed_at":"2023-02-13T04:55:33.263Z","dependency_job_id":"5c291a5a-1701-40aa-a731-8abdc4629bcb","html_url":"https://github.com/auth0/angular-auth0","commit_stats":{"total_commits":71,"total_committers":26,"mean_commits":2.730769230769231,"dds":0.8450704225352113,"last_synced_commit":"2710f5d0a01873e0422e3373116eb645dd7f6be1"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fangular-auth0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fangular-auth0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fangular-auth0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fangular-auth0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0","download_url":"https://codeload.github.com/auth0/angular-auth0/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219875669,"owners_count":16554698,"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","dx-sdk"],"created_at":"2024-09-27T23:04:37.879Z","updated_at":"2025-10-02T10:31:06.937Z","avatar_url":"https://github.com/auth0.png","language":"JavaScript","readme":"# Angular 1.x Wrapper for Auth0.js\n[![CDNJS version](https://img.shields.io/cdnjs/v/angular-auth0.svg)](https://cdnjs.com/libraries/angular-auth0)\n\n\u003e **Warning**\n\u003e This module has been deprecated, as support for [AngularJS](https://angularjs.org/) ended in January 2022. This module will reach end-of-life on October 31, 2023. See the [Migration Guide](./MIGRATION_GUIDE.md) for more information.\n\nThis module provides a thin wrapper for [auth0.js](https://auth0.com/docs/libraries/auth0js).\n\n### This is angular-auth0 v3 which is to be used with auth0.js v9 and higher. \n\n- For use with auth0.js v8, install angular-auth0 v2.\n- For use with auth0.js v7, install angular-auth0 v1.\n\n## Installation\n\n```bash\n# installation with npm\nnpm install --save angular-auth0\n\n# installation with yarn\nyarn add angular-auth0\n\n# installation with bower\nbower install --save angular-auth0\n```\n\nEnsure that both `auth0.js` and `angular-auth0.js` are loaded on the page.\n\n```html\n\u003c!-- installed with npm or yarn --\u003e \n\u003cscript src=\"node_modules/auth0-js/build/auth0.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"node_modules/angular-auth0/dist/angular-auth0.js\"\u003e\u003c/script\u003e\n```\n\n```html\n\u003c!-- installed with bower --\u003e \n\u003cscript src=\"bower_components/auth0.js/build/auth0.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"bower_components/angular-auth0/dist/angular-auth0.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\nBring in the `auth0.auth0` module.\n\n```js\nvar app = angular.module('myApp', ['auth0.auth0']);\n```\n\nConfigure Auth0.js by using `angularAuth0Provider`. If you haven't done so yet, [sign up for Auth0](https://auth0.com/signup), create a client app, and get your clientID and domain. To learn more about Auth0.js' API and the options it takes, see the [API documentation](https://auth0.com/docs/libraries/auth0js).\n\n```js\napp.config(function(angularAuth0Provider) {\n\n  angularAuth0Provider.init({\n    clientID: AUTH0_CLIENT_ID,\n    domain: AUTH0_DOMAIN\n  });\n  \n});\n```\n\nUse `auth0.js` from a controller or service.\n\n```js\napp.controller('loginController', function(angularAuth0) {\n\n  var vm = this;\n  vm.angularAuth0 = angularAuth0;\n  \n});\n```\n\n```html\n\u003cdiv ng-controller=\"loginController as vm\"\u003e\n\n  \u003cbutton ng-click=\"vm.login(options)\"\u003eLog In\u003c/button\u003e\n\n\u003c/div\u003e\n```\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 account in Auth0\n\n1. Go to [Auth0](https://auth0.com) and click Sign Up.\n2. Use Google, GitHub or Microsoft Account to login.\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](auth0.com)\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fangular-auth0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0%2Fangular-auth0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fangular-auth0/lists"}