{"repo":"edgeflare/ngx-oidc","free":true,"listed":false,"github":"https://github.com/edgeflare/ngx-oidc","clone":"git clone https://github.com/edgeflare/ngx-oidc.git","description":"oidc-client-ts wrapper for Angular and Capacitor","language":"TypeScript","stars":13,"topics":["android","angular","capacitor","ionic","ios","oauth2","oidc"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"oidc-client-ts wrapper for Angular and Capacitor 1. Install 2. Configure Angular Update /src/app/app.config.ts . The example directory includes a minimal app. For Capacitor based native mobile apps If using Capacitor, ensure all imports are from @edgeflare/ngx-oidc-capacitor , instead of @edgeflare/ngx-oidc . See example-capacitor app. Providing OIDC ROUTES registers below routes: - /signin/{callback,error,''} - /signout/callback - /oidc-profile , protected by an authGuard supplied with ngx-oidc See signinRedirect , signinPopup etc examples at http://localhost:4200/signin. It additionally provides user and isAuthenticated signals; which can be called like user() to get the current user, and isAuthenticated() to check if the user is authenticated. The routes can be registered on parent routes other root / , with ngx-oidc supplied components or your own. Features - [x] signinRedirect, signinPopup, signoutRedirect, signoutPopup - [x] authGuard using canActivateFn - [x] Capactior support for native mobile apps Contributing / Development With 200 lines of code ngx-oidc doesn't really do much except calling oidc-client-ts functions. It sets up and exposes oidc-client-ts' UserManager functions through an Angular service, AuthService. The function signatures used in this service are the same as those provided by oidc-client-ts e.g. : - signinRedirect(args?: SigninRedirectArgs): Promise - signinPopup(args?: SigninPopupArgs): Promise - signinSilent(args?: SigninSilentArgs): Promise For","default_branch":null,"files":null,"tree":[],"storefront":"/r/edgeflare","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/edgeflare/ngx-oidc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}