Skip to content
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: add auth dapp flow #416

Merged
merged 14 commits into from
Jan 1, 2024
Merged

feat: add auth dapp flow #416

merged 14 commits into from
Jan 1, 2024

Conversation

meelrossi
Copy link

Add login with auth dapp

Copy link

Test this pull request

This branch can be previewed at

@meelrossi meelrossi force-pushed the feat/auth-login-dapps branch 2 times, most recently from ce03390 to 74cb8a4 Compare January 1, 2024 16:35
@meelrossi meelrossi force-pushed the feat/auth-login-dapps branch from 74cb8a4 to b9134d4 Compare January 1, 2024 16:41
Copy link
Contributor

@fzavalia fzavalia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments :D

<WearablePreview
profile={wallet?.address}
disableBackground
dev={getWantedChainId() === ChainId.ETHEREUM_SEPOLIA}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use !== ETHEREUM_MAINNET instead to make it easier in case the testnet is changed

@@ -2,11 +2,13 @@ const qs = new URLSearchParams(document.location.search || '')
export const DEBUG_ANALYTICS = qs.has('DEBUG_ANALYTICS')
export const SHOW_WALLET_SELECTOR = qs.has('show_wallet')
export const ENV = qs.get('ENV')
export const NETWORK = qs.get('NETWORK')
export const NETWORK = qs.get('NETWORK') || qs.get('network')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change necessary?

@@ -12,6 +12,7 @@ export function getRequiredAnalyticsContext(state: StoreType): SessionTraits {

export enum FeatureFlags {
Stream = 'explorer-stream',
AuthDapp = 'auth-dapp',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to add the prefix of the feature flag. dapps-auth-dapp

@meelrossi meelrossi merged commit 16f8d79 into main Jan 1, 2024
3 checks passed
@meelrossi meelrossi deleted the feat/auth-login-dapps branch January 1, 2024 20:44
meelrossi pushed a commit that referenced this pull request Jan 9, 2024
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.

2 participants