@de-dan/ionic-appauth
v0.9.3
Published
Intergration for OpenId/AppAuth-JS into Ionic V3/4/5
Downloads
9
Maintainers
Readme
Ionic App Auth
Ionic App Auth is a implementation of the AppAuth-JS for Ionic Users. It includes code extensions for core cordova plugins to run the Ionic app such as Advanced HTTP and SafariViewController.
The cordova plugins are optional and can be replaced with Angular/React/Vue http handlers and/or Capacitor Plugins. This library is intended to be as flexible with compatiblity as Ionic V5 is attempting to be.
Installation
Run following command to install Ionic App Auth in your project.
npm install ionic-appauth --save
Examples
Demos have been moved into the main repository to centralise issues.
- Angular/Cordova: https://github.com/wi3land/ionic-appauth/tree/master/demos/angular-cordova
- Angular/Capacitor: https://github.com/wi3land/ionic-appauth/tree/master/demos/angular-capacitor
- React: https://github.com/wi3land/ionic-appauth/tree/master/demos/react
- Vue: https://github.com/wi3land/ionic-appauth/tree/master/demos/vue
- Vanilla: (To Be Completed)
- Ionic V3: (To Be Completed)
NOTE: You can use OktaDev Schematics to install the code from the Angular examples above. Cordova and Capacitor are both supported. The installation isn't Okta-specific, it just prompts you for an issuer
and clientId
.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License - see the LICENSE.md file for details