Comments (5)
No Problem Here it is!
{
appId: --
authorizationBaseUrl: 'https://accounts.google.com/o/oauth2/auth',
accessTokenEndpoint: 'https://www.googleapis.com/oauth2/v4/token',
scope: 'email profile https://www.googleapis.com/auth/drive',
resourceUrl: 'https://www.googleapis.com/userinfo/v2/me',
web: {
// redirectUrl: 'http://localhost:8081',
redirectUrl: 'https://meshmycampus.app',
windowOptions: 'height=600,left=0,top=0',
},
Additionally,
In using Safari fully launched, it is opening a new tab rather than a window. It also does this in Chrome 72 in full-screen mode. See video (Shared by Google Drives) attached.
I am also available for a video call to further demonstrate.
Frameworks and Information -
App: 100% Custom Web Components Application (Frameworkless)
OS: macOS Mojave: 10.14.1
Browsers: Chrome 72.0
Safari: 12.0.1
It seems to be good to go on mine But the issue is that on real world devices it throws a 50/50 error as above. Which I am trying to reproduce.
https://drive.google.com/drive/folders/1ocGu2oWiQsl_4AwDQHcMJaVUTN5RQHPD?usp=sharing
from generic-oauth2.
Hey Tsavo!
Could you please share your OAuth2AuthenticateOptions
(w/o appId) and your some version numbers of OS, Safari, frameworks and lib.
I guess you do not use the option web.windowOptions
.
I tested the master (cap.beta.17) with windowOptions
on macOS Mojave and Safari 12.0.2 opens a new window (not a tab) and login with Google and Facebook works.
BR
from generic-oauth2.
Hey, is this still a issue or did you figure it out?
from generic-oauth2.
from generic-oauth2.
I added a new windowTarget
option a while ago.
Maybe it helps: https://github.com/moberwasserlechner/capacitor-oauth2/blob/33c041e248d0a18ef491f042336c9dcf36a3bd38/src/definitions.ts#L111.
I'll close the issue and if it gets more important for you we always can reopen it.
from generic-oauth2.
Related Issues (20)
- Feat: Integration with trapeze to improve configuration
- Auth0 HOT 1
- Bug: Intent filter not working for redirection after login HOT 2
- Feat: Support Android 13 HOT 2
- Support for Capacitor 5 HOT 10
- Is there a way to get a login prompt? HOT 1
- Azure B2C ui_locales is directly supported via the auth request builder exception HOT 2
- I am not able to hide URL bar HOT 2
- accessTokenEndpoint quirk with django backend HOT 1
- Google with android says "Custom scheme URIs are not allowed for 'WEB' client type" HOT 3
- App Store Connect Issue
- Hide navigation bar and footer on iOS HOT 5
- Evidence of the use of safari
- Question: What kind of browser is used for login? HOT 1
- Feat: support universal links on iOS HOT 3
- Azure SSO; Response comes from azure, but does not come to authenticate
- capacitor-oauth2 - Azure SSO is not working in android and ios.Bug:
- Feat: Electron
- IOS 17 keyclock login not working
- Bug: Jest not working when using the plugin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generic-oauth2.