kinde-angular
v1.3.1
Published
Angular wrapper for the Kinde TypeScript SDK
Downloads
219
Maintainers
Readme
KindeAngular
Kinde integration for Angular
For issues and feature requests please use GitHub Issues
Quick setup
npm i kinde-angular
import module to your app module
import { KindeAngularModule } from 'kinde-angular';
Add KindeModule to your imports
@NgModule({
declarations: [
AppComponent
],
imports: [
KindeAngularModule.forRoot({
clientId: 'client_id_here',
authDomain: 'https://domain.kinde.com',
redirectURL: 'http://localhost:4200/',
logoutRedirectURL: 'http://localhost:4200/',
})
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Add KindeService to your component via contructor or Inject method
constructor(private authService: KindeAngularService){
}
Or
const authService = inject(KindeAngularService);