I use angular 14. Before updating I have used angular 13 with @abacritt/angularx-social-login 1.1.0, now It has been updated to ^1.2.5 and appeared one tap google auth iframe. I do auth with my own service and when client authed, we are moving to dashboard, but google tap iframe leaves on the page. I want to close it when I make auth with my own service. How to close (or disable) this? (angular 14, @abacritt/angularx-social-login ^1.2.5)
Asked
Active
Viewed 406 times
2 Answers
0
You can't manipulate with this block. But you can set in config of google-btn autoclose of this block.

shmihshmih
- 23
- 5
-
how did you do it? – SkyReel Jan 31 '23 at 19:10
0
in your app.module.ts:
{
provide: 'SocialAuthServiceConfig',
useValue: {
autoLogin: false,
providers: [
{
id: GoogleLoginProvider.PROVIDER_ID,
provider: new GoogleLoginProvider('google-id', {
oneTapEnabled: false
}),
},
],
} as SocialAuthServiceConfig,

qattus
- 1
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 25 '23 at 02:25