/ionic-appauth

Intergration for OpenId/AppAuth-JS into Ionic V3/4/5

Primary LanguageTypeScriptMIT LicenseMIT

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.

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

Acknowledgments