Skip to content

feat: add Openfort example#2

Open
Huguet57 wants to merge 1 commit into
5afe:mainfrom
Huguet57:feat/openfort
Open

feat: add Openfort example#2
Huguet57 wants to merge 1 commit into
5afe:mainfrom
Huguet57:feat/openfort

Conversation

@Huguet57

Copy link
Copy Markdown

Adds Openfort integration example with OAuth authentication and Safe account creation

@Huguet57

Copy link
Copy Markdown
Author

Related PR: safe-global/safe-docs#791

@Huguet57

Copy link
Copy Markdown
Author

Hi team, just passing by to bring a new integration with Openfort. Keep up the good work! :)

@emauja

emauja commented Mar 18, 2026

Copy link
Copy Markdown

@openfort/react SDK v1.0.4 Update

I've prepared the necessary SDK updates in a branch on emauja/safe-signers@feat/openfort. Here's a summary of changes:

Changes made:

  1. Version bump: @openfort/react from ^0.1.6^1.0.4

  2. Import path fixes (v1.0.0 breaking change):

    • getDefaultConfig moved to @openfort/react/wagmi subpath
    • useWallets replaced with useEthereumEmbeddedWallet from @openfort/react/ethereum
  3. Provider access updated:

    • Replaced client.embeddedWallet.getEthereumProvider() with wallets[0].getProvider() (new v1.0.4 API)
    • Removed unused useOpenfort import
  4. Verified: uiConfig prop is still valid in v1.0.4 (no change needed)

To apply these changes:

git remote add emauja https://github.com/emauja/safe-signers.git
git fetch emauja feat/openfort
git cherry-pick emauja/feat/openfort

Or see the full diff: emauja@$(git rev-parse HEAD)

@emauja

emauja commented Mar 18, 2026

Copy link
Copy Markdown

SDK Update: @openfort/react v1.0.4

The Openfort React SDK has been updated to v1.0.4 with breaking changes. I've prepared the necessary updates in my fork.

Changes made:

  • Version bump: @openfort/react from ^0.1.6 to ^1.0.4
  • Import path: getDefaultConfig moved to @openfort/react/wagmi
  • Hook migration: useWalletsuseEthereumEmbeddedWallet from @openfort/react/ethereum
  • Auth provider enum: AuthProvider.EMAILAuthProvider.EMAIL_PASSWORD
  • Wallet config: accountType moved into walletConfig.ethereum sub-config
  • Cleanup: Removed unused useOpenfort import

To apply these changes:

git remote add emauja https://github.com/emauja/safe-signers.git
git fetch emauja feat/openfort
git cherry-pick 156ebb9

Or view the full diff at: https://github.com/emauja/safe-signers/tree/feat/openfort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants