angularx-social-login icon indicating copy to clipboard operation
angularx-social-login copied to clipboard

This document requires 'TrustedScript' assignment.

Open rahul6789sharma opened this issue 2 years ago • 7 comments

HI I am using social Login i am getting error after chrome update

this.socialAuthService.signIn(GoogleLoginProvider.PROVIDER_ID).then( (user: SocialUser) => {

// logic

}

rahul6789sharma avatar Apr 19 '22 07:04 rahul6789sharma

did u manage to solve it?

programmer007007 avatar May 19 '22 13:05 programmer007007

Hi @rahul6789sharma Care to give us some info on the error? There isn't much to go on about with your message

Heatmanofurioso avatar May 23 '22 11:05 Heatmanofurioso

No

On Thu, 19 May, 2022, 6:31 pm programmer007007, @.***> wrote:

did u manage to solve it?

— Reply to this email directly, view it on GitHub https://github.com/abacritt/angularx-social-login/issues/490#issuecomment-1131660512, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYQM3EKGNRH7UFA2X6DWETVKY3T7ANCNFSM5TX7CXCQ . You are receiving this because you authored the thread.Message ID: @.***>

rahul6789sharma avatar May 23 '22 14:05 rahul6789sharma

i have the same issue, is there any solution ?

shlolevi avatar May 23 '22 19:05 shlolevi

I have the same issue and this is what I see on the Console in Chrome:

m=base:139 This document requires 'TrustedScript' assignment. ne @ m=base:139 parse @ m=base:148 jh.v @ m=base:251 b @ m=base:263 m=base:139 POST https://accounts.google.com/_/IdpIFrameHttp/cspreport 400 ne @ m=base:139 parse @ m=base:148 jh.v @ m=base:251 b @ m=base:263 index.js:52 [WDS] Live Reloading enabled. core.js:6498 ERROR Error: Uncaught (in promise): Login providers not ready yet. Are there errors on your console? at resolvePromise (zone.js:1211:1) at zone.js:1118:1 at abacritt-angularx-social-login.mjs:269:17 at new ZoneAwarePromise (zone.js:1427:1) at SocialAuthService.signIn (abacritt-angularx-social-login.mjs:267:16) at LoginComponent.login_with_google (login.component.ts:155:26) at LoginComponent_Template_button_click_19_listener (login.component.html:29:14) at executeListenerWithErrorHandling (core.js:15327:1) at wrapListenerIn_markDirtyAndPreventDefault (core.js:15365:1) at HTMLButtonElement. (platform-browser.js:561:1) defaultErrorLogger @ core.js:6498 handleError @ core.js:6546 next @ core.js:29303 __tryOrUnsub @ Subscriber.js:183 next @ Subscriber.js:122 _next @ Subscriber.js:72 next @ Subscriber.js:49 next @ Subject.js:39 emit @ core.js:25955 (anonymous) @ core.js:28718 invoke @ zone.js:372 run @ zone.js:134 runOutsideAngular @ core.js:28591 onHandleError @ core.js:28718 handleError @ zone.js:376 runGuarded @ zone.js:147 api.microtaskDrainDone @ zone.js:1072 drainMicroTaskQueue @ zone.js:592 invokeTask @ zone.js:491 invokeTask @ zone.js:1648 globalCallback @ zone.js:1679 globalZoneAwareCallback @ zone.js:1712

sehcode avatar Jun 18 '22 13:06 sehcode

Hey. @abacritt/angularx-social-login:1.2.0 has been deployed, can you test it with the new version if the lib, please?

Heatmanofurioso avatar Jun 19 '22 19:06 Heatmanofurioso

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 20 '22 18:09 stale[bot]