-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
@enricomarino, I have managed to implement <oath-connect-google> successfully. The element connects to Google OAuth2 service, displays the consent page, and then redirects correctly to my API to exchange the token.
The issue is that the consent page is opened in a new browser window, as opposed to a popup.
Initially I have not included the display attribute, as the default is popup. This did NOT work. I then explicitly added this attribute:
<oauth-connect-google id="oauthConnect" display="popup" exchange_url="https://path_to_my_api/auth/google" client_id="XXXXXXXXXXXXXXXX.apps.googleusercontent.com" on-response="on_response_token"></oauth-connect-google>This did NOT make any difference.
I have checked the defaults for <oath-connect-google>, <oauth-v2> and <oauth-popup>.
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels