Crossmint / crossmint-sdk

Crossmint SDK for client and server integrations
https://demo.crossmint.io/
Apache License 2.0
27 stars 16 forks source link

Auth: Implements one time use refresh token to fetch auth material #785

Closed AlbertoElias closed 1 week ago

AlbertoElias commented 1 week ago

Description

Makes SDK listen to initial one-time refresh token to then fetch all auth material.

Also removes unused popup/iframe events. Please test locally to double check it's working.

Test plan

Delete cookies => Log in with both OTP and OAuth

Package updates

@crossmint/client-sdk-react-ui v1.5.0

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: 126997fb2177e20d169ddb416ddcf39c62260d7c

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

This PR includes changesets to release 5 packages | Name | Type | | ----------------------------------------------- | ----- | | @crossmint/client-sdk-react-ui | Minor | | @crossmint/client-sdk-auth-core | Minor | | @crossmint/client-sdk-react-ui-starter | Patch | | @crossmint/client-sdk-nextjs-starter | Patch | | @crossmint/client-sdk-smart-wallet-next-starter | 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

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **smart-wallet-auth-demo** | ⬜️ Ignored ([Inspect](https://vercel.com/crossmint/smart-wallet-auth-demo/7zCshQiC37bLFG6GjNKRxxBP58uo)) | [Visit Preview](https://smart-wallet-auth-demo-git-albertoe-wal-2924-a-c415dc-crossmint.vercel.app) | | Sep 26, 2024 8:35pm |