javascript icon indicating copy to clipboard operation
javascript copied to clipboard

feat(clerk-js): Handle PSU and MFA flows for `<GoogleOneTap/>`

Open panteliselef opened this issue 1 year ago • 1 comments

Description

Public API updates

Comply with Clerk's redirection logic ( & priorities )

<__experimental_GoogleOneTap
  signInForceRedirectUrl=""
  signUpForceRedirectUrl=""
  signInFallbackRedirectUrl=""
  signUpFallbackRedirectUrl=""
/>

Opt-in for user to return back where they started ( this overrides the above)

<__experimental_GoogleOneTap  returnToCurrentLocation />

Moved handleGoogleOneTapCallback to Clerk singleton

Clerk.__experimental_handleGoogleOneTapCallback

Checklist

  • [ ] npm test runs as expected.
  • [ ] npm run build runs as expected.
  • [ ] (If applicable) JSDoc comments have been added or updated for any package exports
  • [ ] (If applicable) Documentation has been updated

Type of change

  • [ ] 🐛 Bug fix
  • [ ] 🌟 New feature
  • [ ] 🔨 Breaking change
  • [ ] 📖 Refactoring / dependency upgrade / documentation
  • [ ] other:

panteliselef avatar Apr 24 '24 11:04 panteliselef

🦋 Changeset detected

Latest commit: 38ae0bdceda2a34cc53d3dbf28e02d804b7c58fb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
@clerk/clerk-js Minor
@clerk/types Minor
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/clerk-react Patch
@clerk/remix Patch
@clerk/clerk-sdk-node Patch
@clerk/testing Patch
@clerk/themes Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Apr 24 '24 11:04 changeset-bot[bot]