-
Notifications
You must be signed in to change notification settings - Fork 19
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
Conversation
Test this pull requestThis branch can be previewed at |
ce03390
to
74cb8a4
Compare
74cb8a4
to
b9134d4
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.
Some comments :D
src/components/start/Start.tsx
Outdated
<WearablePreview | ||
profile={wallet?.address} | ||
disableBackground | ||
dev={getWantedChainId() === ChainId.ETHEREUM_SEPOLIA} |
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.
Use !== ETHEREUM_MAINNET instead to make it easier in case the testnet is changed
src/integration/url.ts
Outdated
@@ -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') |
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.
Is this change necessary?
src/state/selectors.ts
Outdated
@@ -12,6 +12,7 @@ export function getRequiredAnalyticsContext(state: StoreType): SessionTraits { | |||
|
|||
export enum FeatureFlags { | |||
Stream = 'explorer-stream', | |||
AuthDapp = 'auth-dapp', |
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 think you need to add the prefix of the feature flag. dapps-auth-dapp
This reverts commit 16f8d79.
Add login with auth dapp