Package Exports
- ionic-appauth
- ionic-appauth/lib/auth-service
- ionic-appauth/lib/auth-service.js
- ionic-appauth/lib/capacitor
- ionic-appauth/lib/capacitor/index.js
- ionic-appauth/lib/cordova
- ionic-appauth/lib/cordova/index.js
- ionic-appauth/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ionic-appauth) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Ionic AppAuth
Ionic AppAuth 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 compatibility as Ionic v6 is attempting to be.
Installation
Run following command to install Ionic App Auth in your project.
npm install ionic-appauth
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. Only Capacitor is supported. The installation isn't Okta-specific, it just prompts you for an issuer
and clientId
and works with Auth0 too!
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