{"id":27307542,"url":"https://github.com/ukcoderj/angular-auth0-api","last_synced_at":"2025-04-12T04:10:42.118Z","repository":{"id":98400540,"uuid":"295376778","full_name":"ukcoderj/Angular-Auth0-API","owner":"ukcoderj","description":"A very simple angular application that calls an API with JWT Token (modded from Auth0 tuts)","archived":false,"fork":false,"pushed_at":"2020-09-14T10:17:33.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-04T14:57:23.077Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ukcoderj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-09-14T10:06:11.000Z","updated_at":"2020-09-14T10:17:36.000Z","dependencies_parsed_at":"2023-05-18T04:47:03.821Z","dependency_job_id":null,"html_url":"https://github.com/ukcoderj/Angular-Auth0-API","commit_stats":null,"previous_names":["ukcoderj/angular-auth0-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FAngular-Auth0-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FAngular-Auth0-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FAngular-Auth0-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FAngular-Auth0-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ukcoderj","download_url":"https://codeload.github.com/ukcoderj/Angular-Auth0-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514221,"owners_count":21116903,"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":[],"created_at":"2025-04-12T04:10:41.651Z","updated_at":"2025-04-12T04:10:42.104Z","avatar_url":"https://github.com/ukcoderj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular-Auth0-API\n\nA very simple (bit messy) angular application that calls an API with JWT Token (modded from Auth0 tuts)\n\n------------------------------------------------\n\n## Sample 01 - Login\n\nThis sample app demonstrates how to log in, log out, and view profile information of the logged-in user. It uses [auth0-spa-js](https://github.com/auth0/auth0-spa-js).\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.1.2 (bit out of date now, but it's the same as angular 10+ for this purpose).\n\n## Configuration\n\nThe sample needs to be configured with your Auth0 domain and client ID in order to work. Open the file `auth_config.json` and replace the values with those from your Auth0 tenant:\n\n```json\n{\n  \"domain\": \"\u003cYOUR AUTH0 DOMAIN - \u003cyour tenancy\u003e.\u003ceu?\u003e.auth0.com\u003e\",\n  \"clientId\": \"\u003cYOUR AUTH0 CLIENT ID - a random jumble of alphanumerics\u003e\",\n  \"audience\": \"\u003cyour auth0 api name - https://mycompany.com:4200/api\u003e\"\n}\n```\n\n## Configuration 2\n\nUpdate `src\\app\\api-caller.service.ts` with the protected URL you want to access.\n\n## Running\n\nUse `ng serve` to run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukcoderj%2Fangular-auth0-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukcoderj%2Fangular-auth0-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukcoderj%2Fangular-auth0-api/lists"}