{"repo":"AyogoHealth/cordova-plugin-oauth","free":true,"listed":false,"github":"https://github.com/AyogoHealth/cordova-plugin-oauth","clone":"git clone https://github.com/AyogoHealth/cordova-plugin-oauth.git","description":"Cordova plugin for performing OAuth login flows.","language":"Swift","stars":26,"topics":["cordova","cordova-plugin","oauth2","oauth","hacktoberfest"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"cordova-plugin-oauth ==================== This plugin provides a mechanism for showing an OAuth flow in a secured system-provided browser view and receiving the result via a Message event. On iOS, this uses ASWebAuthenticationSession (iOS =12), SFAuthenticationSession (iOS 11), SFSafariViewController (iOS =8, ℹ️ This plugin uses AndroidX! Use version 3.x if you are building without AndroidX enabled. Installation ------------ By default, the plugin registers the app ID as a scheme to be used as the OAuth callback URL, and expects a default host of oauth callback (i.e., if your app's ID is com.example.foo , your OAuth redirect URL should be com.example.foo://oauth callback ). The scheme for the OAuth callback URL can be changed by providing a URL SCHEME variable when installing. If your URL SCHEME is mycoolapp , then your OAuth redirect URL should be mycoolapp://oauth callback . The hostname endpoint can be changed by providing a URL HOSTNAME variable when installing. Supported Platforms ------------------- iOS (cordova-ios = 6.1.0) Android (cordova-android = 9.0.0) Usage ----- 1. Trigger the plugin by opening the OAuth login page in a new window, with a window name that includes \"oauth:\" : Alternatively, you can include oauth=yes in the window features string: 2. The plugin will open the OAuth login page in a new browser window. 3. When the OAuth process is complete and it redirects to your app scheme, the plugin will send a message to the Cordova app. The message begins with ","default_branch":null,"files":null,"tree":[],"storefront":"/r/AyogoHealth","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AyogoHealth/cordova-plugin-oauth/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."}