You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Important gapi.auth2 notice: gapi.auth2 has been deprecated and replaced with Google Identity Services. Please see https://developers.google.com/identity/sign-in/web/deprecation-and-sunset for more information. If you have questions related to authentication/authorization please look at the associated documentation or post questions on Stack Overflow with the google-oauth tag.
Summary
Safari, as well as all browsers on ios, default to blocking all popups. Unfortunately, this includes the auth popup that first is required for the drive picker to authenticate and then select a google drive file. Are there workarounds available to ensure browsers do not block this auth popup? On safari specifically, the first click attempt to launch the auth login modal is blocked, but subsequent clicks are not.
Browser(s)/Version(s)
Safari 15.6.1
Expected Behavior
The authentication popup should display when requestAccessToken is called (using tokenClient generated from google.accounts.oauth2.initTokenClient).
Actual Behavior
On calling requestAccesToken, safari blocks the auth popup from launching on the first attempt:
On subsequent attempts, the popup is not blocked and the authentication popup launches
Steps to Reproduce
Please include steps and code samples to aid in issue reproduction(html/javascript).
The text was updated successfully, but these errors were encountered:
sskinner-quizlet
changed the title
Safari and all browsers on iod block Google Drive Picker auth popup
Safari and all browsers on ios block Google Drive Picker auth popup
Aug 21, 2023
Important gapi.auth2 notice: gapi.auth2 has been deprecated and replaced with Google Identity Services. Please see https://developers.google.com/identity/sign-in/web/deprecation-and-sunset for more information. If you have questions related to authentication/authorization please look at the associated documentation or post questions on Stack Overflow with the google-oauth tag.
Summary
Safari, as well as all browsers on ios, default to blocking all popups. Unfortunately, this includes the auth popup that first is required for the drive picker to authenticate and then select a google drive file. Are there workarounds available to ensure browsers do not block this auth popup? On safari specifically, the first click attempt to launch the auth login modal is blocked, but subsequent clicks are not.
Browser(s)/Version(s)
Safari 15.6.1
Expected Behavior
The authentication popup should display when requestAccessToken is called (using tokenClient generated from google.accounts.oauth2.initTokenClient).
Actual Behavior
On calling requestAccesToken, safari blocks the auth popup from launching on the first attempt:
On subsequent attempts, the popup is not blocked and the authentication popup launches
Steps to Reproduce
Please include steps and code samples to aid in issue reproduction(html/javascript).
The text was updated successfully, but these errors were encountered: