Provide a way to choose beetwen showing a popup or redirecting
pylvr opened this issue · 1 comments
pylvr commented
Is there any way i can configure these two mode , the default is popup and i cant find any way to change it
devbaji commented
@yasserss Sorry for the late reply, you can use idConfiguration option to implement redirect mode, refer the following example
<template>
<GoogleLogin
:id-configuration="{
login_uri: 'http://your_app_domain.com/your_page_to_handle_response_credential',
ux_mode: 'redirect',
}"
/>
</template>
Also make sure the login_uri must be added in the "Authorized redirect URIs" section in your google console