WebAuth /authorize opening up universal login page even if i passing connectionType in params

I am using webAuth.authorize method for social authentication. below is my code for that.

            connection: 'google-oauth2',
            scope: 'openid profile email',
            connection_scope: 'https://www.googleapis.com/auth/calendar.events',
            access_type: 'offline',
            approval_prompt: 'force',

It should open the google page but it opens the universal page first and when i cancel that it opens google page in second time.

Hi @ssinghal,

Welcome to the Community!

It looks like you are trying to pass some parameters to the IDP (google). Is passing them explicitly like that working? I think you need to use the strategy described here.

I am wondering if these extra params are causing a problem.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.