oAuth2 flow with Browser plugin
See original GitHub issueDescription of the problem:
Affected platform
- [ x] Android
- [ x] iOS
- [ x] electron
- [ x] web
OS of the development machine
- Windows
- [ x] macOS
- linux
Other information:
Capacitor version: 1.0.0
node version:
npm version:
CocoaPods version:
Steps to reproduce:
Link to sample project:
We are using client redirect url in oAuth flow, we are also listening to appUrlOpen
event and use router navigate to route to appropriate page. We are facing multiple problems with Capcitor where it was working as expected with ionic 3, Cordova and IAB.
- platform alway says
capacitor
even when running the app in the browser. - deep linked page
capacitor://<route>
only works on ios with subscribing toappUrlOpen
event. It does not work in android and web. - Browser.close() only works in ios, how do we close the browser instance after oAuth is successful.
Has anybody implemented oAuth code + PKCE with Cap Browser? Any help is appreciated,
Thanks, 3)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:6 (1 by maintainers)
Top Results From Across the Web
OAuth Flows
This extension adds a OAuth Flows tab in Google Chrome's developer tools and monitors OIDC and OAuth traffic on the page you are...
Read more >OAuth2: Authenticate users with Google - Chrome Developers
Step-by-step instructions on how to build an extension that accesses a user's Google contacts via the Google People API, the Chrome Identity ...
Read more >OAuth 2.0 from chrome extensions
A JavaScript library that handles OAuth 2.0 for you, with a dead simple API. Comes with adapters for Google, Facebook and Github.
Read more >OAuth 2.0 for Browser-Based Apps
OAuth 2.0 for Browser-Based Apps describes security requirements and other recommendations for SPAs and browser-based applications using OAuth 2.0.
Read more >Google's OAuth2 Authorization with Chrome Extensions
Navigate to the address “chrome://extensions” in your Chrome Browser. Click on “Pack Extension” and choose the location of your Chrome Extension. This will ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please, don’t use github issues to ask questions, just to report issues. For questions you can ask on the forum, slack or stack overflow using capacitor tag.
Same here, anybody did it successfully?