-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: connect wallet to web2 account on action #2219
Conversation
✅ Deploy Preview for regen-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There seems to be an issue on the deploy preview with the google login. It might be best to test locally in the meantime. |
I've updated the env var in Heroku so it redirects to the deploy preview for logging in with google. @erikalogie you can test this on https://deploy-preview-2219--regen-marketplace.netlify.app/ |
|
||
useEffect(() => { | ||
if (shouldConnectAccount && !isConnectingWalletRef.current) { | ||
connectWalletCallback(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting the 'prove ownership' popup multiple times now
I can't log in with google, I've tried all my different accounts and it isn't working. Screen.Recording.2023-11-22.at.8.41.55.AM.mov |
216e5c6
to
a2b3403
Compare
Weird, still investigating. In the meantime, you should be able to log in with email/passcode now. |
Great yes it is working properly with email/passcode log in |
I did notice this small typo (was my bad, it was in the comps) https://monosnap.com/file/Hi4bf1EQnLTsVF03Xnw5qg6UqurgG6 |
a2b3403
to
dc5b399
Compare
@blushi Also I noted that the google login on staging does not redirect to the good origin preview URL. The login works but you would have to come back manually to the good preview url. |
yeah this is because the app redirect URL is set to the deploy preview URL for #2221 right now. This is an env var in the server. |
marie left a comment: If I try to connect a wallet address (assuming I haven't connected yet, auto_connect_wallet is not set), then I don't even get the prove ownership popup, only the wallet address is set from Keplr. Browser metadata
|
This is not the same story. This story is about connecting an account if the user tries to perform an on-chain action (like buying credits). That said, we might have a regression on this part in the user profile settings. |
7e760ab
to
0e0cfda
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK
Description
Closes: #2159
Prompt web2 user to connect a wallet for on-chain action
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
How to test
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...