{"id":24600704,"url":"https://github.com/luukhaijes/kinde-angular","last_synced_at":"2025-10-05T21:31:54.748Z","repository":{"id":213288338,"uuid":"733072405","full_name":"luukhaijes/kinde-angular","owner":"luukhaijes","description":"Angular wrapper for the Kinde Typescript SDK","archived":false,"fork":false,"pushed_at":"2025-04-08T14:00:55.000Z","size":681,"stargazers_count":18,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-01T10:15:06.275Z","etag":null,"topics":[],"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/luukhaijes.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":"2023-12-18T13:56:23.000Z","updated_at":"2025-07-11T09:53:21.000Z","dependencies_parsed_at":"2023-12-22T19:24:30.398Z","dependency_job_id":"d9da8971-4f2b-4ee3-9c80-eec821f44d94","html_url":"https://github.com/luukhaijes/kinde-angular","commit_stats":null,"previous_names":["luukhaijes/kinde-angular"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luukhaijes/kinde-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luukhaijes%2Fkinde-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luukhaijes%2Fkinde-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luukhaijes%2Fkinde-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luukhaijes%2Fkinde-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luukhaijes","download_url":"https://codeload.github.com/luukhaijes/kinde-angular/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luukhaijes%2Fkinde-angular/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278221270,"owners_count":25950615,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-01-24T14:01:23.925Z","updated_at":"2025-10-05T21:31:54.743Z","avatar_url":"https://github.com/luukhaijes.png","language":"TypeScript","readme":"# KindeAngular\n\nKinde integration for Angular\n\nFor issues and feature requests please use [GitHub Issues](https://github.com/luukhaijes/kinde-angular/issues)\n\n## Quick setup\n\n```bash\nnpm i kinde-angular\n```\n\n## NgModule Application \n\nimport module to your app module\n\n```typescript\nimport { KindeAngularModule } from 'kinde-angular';\n```\n\nAdd KindeModule to your imports\n\n```typescript\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    KindeAngularModule.forRoot({\n      clientId: 'client_id_here',\n      authDomain: 'https://domain.kinde.com',\n      redirectURL: 'http://localhost:4200/',\n      logoutRedirectURL: 'http://localhost:4200/',\n    })\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule {\n}\n```\n\n## Standalone Application \n\nupdate main.ts with:\n\n```typescript\nimport { provideKinde } from 'kinde-angular';\n\nbootstrapApplication(AppComponent, {\n  providers: [\n    provideKinde({\n      clientId: 'client_id_here',\n      authDomain: 'https://domain.kinde.com',\n      redirectURL: 'http://localhost:4200/',\n      logoutRedirectURL: 'http://localhost:4200/',\n    })\n  ],\n}).catch((err) =\u003e console.error(err));\n```\n\n## Use\n\n### Service injections\n\nAdd KindeService to your component via contructor or Inject method\n\n```typescript\nconstructor(private authService: KindeAngularService) {}\n```\n\nOr\n\n```typescript\nconst authService = inject(KindeAngularService);\n```\n\n### Protect routes\n\nUse feature guard\n\n```typescript\n[{\n  path: 'feature',\n  component: FeatureComponent,\n  canActivate: [featureFlagGuard('has_feature')]\n}]\n```\n\nUse canActivate auth guard\n\n```typescript\n[{\n  path: 'route',\n  component: AComponent,\n  canActivate: [canActivateAuthGuard]\n}]\n```\n\nYou can also read some more information [here](docs.md)\n\n## Roadmap\n\n- [ ] More unit tests\n- [ ] More documentation\n- [ ] Interceptor\n  - [ ] basic interceptor\n  - [ ] with pattern matching\n- [ ] Support analogjs\n- [x] feature flag guard\n- [ ] feature flag directive\n- [ ] ng schematic\n","funding_links":[],"categories":["Security and Authentication","Recently Updated"],"sub_categories":["Authentication","[Jan 30, 2025](/content/2025/01/30/README.md)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluukhaijes%2Fkinde-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluukhaijes%2Fkinde-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluukhaijes%2Fkinde-angular/lists"}