Skip to content

Consent not dispalying in popup #1

@go4cas

Description

@go4cas

@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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions