{"id":26339670,"url":"https://github.com/kmaida/sample-auth0-angular","last_synced_at":"2025-07-09T07:08:45.581Z","repository":{"id":54549451,"uuid":"118288714","full_name":"kmaida/sample-auth0-angular","owner":"kmaida","description":"Auth0 Angular Workshop sample app","archived":false,"fork":false,"pushed_at":"2024-12-07T06:01:38.000Z","size":1241,"stargazers_count":2,"open_issues_count":12,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-07T07:17:18.681Z","etag":null,"topics":["angular","auth0","authentication","rxjs","tutorial","workshop"],"latest_commit_sha":null,"homepage":"","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/kmaida.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-20T23:18:27.000Z","updated_at":"2022-05-26T17:10:40.000Z","dependencies_parsed_at":"2024-09-18T09:29:29.927Z","dependency_job_id":"9f193c66-3aa4-4fc6-afa1-e7ef357c2b5f","html_url":"https://github.com/kmaida/sample-auth0-angular","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmaida%2Fsample-auth0-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmaida%2Fsample-auth0-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmaida%2Fsample-auth0-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmaida%2Fsample-auth0-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmaida","download_url":"https://codeload.github.com/kmaida/sample-auth0-angular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818411,"owners_count":20352665,"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","rxjs","tutorial","workshop"],"created_at":"2025-03-16T03:18:46.925Z","updated_at":"2025-03-16T03:18:47.426Z","avatar_url":"https://github.com/kmaida.png","language":"TypeScript","readme":"# sample-auth0-angular\n\nImplement [Auth0](https://auth0.com) and secure an Angular application with an authenticated [Node.js API](https://github.com/kmaida/sample-auth0-nodeserver).\n\n## Angular Tutorial\n\nTo begin, proceed to the **[Auth0 Angular Workshop](https://kmaida.gitbooks.io/auth0-angular-workshop/)** book to follow along with the tutorial.\n\n## Using This Repo\n\nIf you want to clone and run this repo, you will need:\n\n### Requirements\n\n* [Node.js and npm](https://nodejs.org)\n* [Angular CLI](https://github.com/angular/angular-cli), installed globally\n* A free [Auth0 account](https://auth0.com/signup)\n* The [sample-auth0-nodeserver](https://github.com/kmaida/sample-auth0-nodeserver), configured according to the README instructions\n* An Auth0 client, [configured as specified here](https://kmaida.gitbooks.io/auth0-angular-workshop/content/auth0-setup.html#create-a-client)\n\n### Clone the Repo\n\nOnce you have _all_ the above requirements fulfilled, clone this repo and install its dependencies:\n\n```bash\n$ git clone https://github.com/kmaida/sample-auth0-angular.git\n$ cd sample-auth0-angular\n$ npm install\n```\n\n### Configure Environment\n\nLocate `environment.ts.sample` and change its filename to `environment.ts` to activate the file. Then add the necessary [Auth0 configuration to the environment variable as described here](https://kmaida.gitbooks.io/auth0-angular-workshop/content/angular-setup.html#configure-environment).\n\nNext locate `environment.prod.ts.sample` and change its filename to `environment.prod.ts` to activate the file. Then add the necessary [Auth0 configuration for a production environment as described here](https://kmaida.gitbooks.io/auth0-angular-workshop/content/build-and-deploy.html#production-environment-variables).\n\n### Serve the App\n\nServe the app in a development environment by running:\n\n```bash\n$ ng serve\n```\n\nThe app will be available at [http://localhost:4200](http://localhost:4200).\n\nTo serve the app in a production environment, run:\n\n```bash\n$ ng build --prod\n$ node server\n```\n\nThe app will then be built to a `/dist` folder and served at [http://localhost:8080](http://localhost:8080).\n\n\u003e **Important:** Make sure you have the [sample-auth0-nodeserver](https://github.com/kmaida/sample-auth0-nodeserver) running to provide API data for the Angular app whenever serving it.\n\n## License\n\n[MIT](LICENSE) © Kim Maida 2018\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmaida%2Fsample-auth0-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmaida%2Fsample-auth0-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmaida%2Fsample-auth0-angular/lists"}