Skip to content

Commit

Permalink
Temporarily address pwa-builder#3286 to enable Sign in with Google wi…
Browse files Browse the repository at this point in the history
…th a reduced response when strict privacy mode (Block third-party cookies or InPrivate Browsing) is used (until we switch to Google Identity Services for Web as tracked in pwa-builder#3309).
  • Loading branch information
CetinSert authored Sep 1, 2022
1 parent e7f898e commit f0bdfe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pwa-auth/src/google-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class GoogleProvider implements SignInProvider {
return Promise.resolve(this.getSignInResultFromUser(user));
}

const I = e.signIn();
const I = auth.signIn();
const Y = async signal => {
const z = await matchingEvent('message', { t: e => JP(e.data), p: d => d?.params?.type == 'authResult', signal });
const id_token = z.params.authResult.id_token;
Expand Down

0 comments on commit f0bdfe7

Please sign in to comment.