Comments (3)
Checking out the source, I've seen that there is a loginProvider
option you can pass on signIn()
. I guess now we have to build our own modal with the social login options we want to support?
Testing out locally this demo app I get errors when changing the loginProvider to, for example, github
or email_passwordless
// auth-kit implementation
const loginWeb3Auth = useCallback(async () => {
if (!safeAuthPack) return
try {
const { safes, eoa } = await safeAuthPack.signIn({
loginProvider: 'email_passwordless' // 'github'
})
![Screenshot 2024-01-06 at 20 00 30](https://private-user-images.githubusercontent.com/43136874/294710833-72b006ea-8079-4069-89b1-7d188e54e532.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyNjg0NzcsIm5iZiI6MTcyMzI2ODE3NywicGF0aCI6Ii80MzEzNjg3NC8yOTQ3MTA4MzMtNzJiMDA2ZWEtODA3OS00MDY5LTg5YjEtN2QxODhlNTRlNTMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEwVDA1MzYxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVlOGQwMDZjM2ZmMzk0ZGEzNjkxZTdmYjYyYWFiZDQ1ZmRmYTExMDY1MDY0ZmVkODU0MDBmZDA5ZTYzMjg0ODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0xj5ExwSLiBbV9gPHP3aL4LzEBDwAi5QoAWKGg2bXKc)
from safe-core-sdk.
@paro-paro hey, thank you for your ticket.
Currently this is the expected behavior. v2 adds the capacity to use the same Safe across different dApps. As starting point we added support for Google accounts only, but we are working to add support for the other providers as soon as possible.
Keep checking our future versions where we will add this support again.
from safe-core-sdk.
Hi @dasanra
Thanks for the info!!
from safe-core-sdk.
Related Issues (20)
- Relay new safe deployment
- `paymasterAddress` is not required for sponsored transactions in the `relay-kit`
- [React Hooks] Research how to implement HOT 1
- [4337] Improve paymaster docs and types
- [SDK Refactoring] Safe Operations not working in `safe-kit`
- Publish passkeys with Sepolia support only
- Error connecting to the blockchain. Please try reloading the page. Details Invalid MultiSend contract address. HOT 4
- Display human readable amount in multisend transfers created from the API HOT 1
- [SDK Refactoring] Research how to extend permissionless with Safe actions HOT 1
- [SDK Refactoring] Testing playground and demo apps.
- [protocol-kit] Safe owner of another Safe HOT 1
- [React hooks] Create repository HOT 1
- Unable to perform transaction using Safe4337Module with safe-core-sdk HOT 2
- [Docs]Example how to deploy to same address in different chains.
- [SDK Refactor] Merge Viem changes into Passkeys branch
- [Passkeys] Prepare passkeys release
- [Passkeys] Align docs
- [SDK Refactor] Align Safe Factory PR to Viem
- Use a disposable private key in the 4337 tests
- [SDK Refactor] SDK Starter kit doesn't provide owner management methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safe-core-sdk.