Skip to content

feat(expo-example): configure and add magic link login#142

Merged
andrascodes merged 1 commit into
mainfrom
andras/feat-expo-example-configure-and-add-magic-link-login
May 14, 2026
Merged

feat(expo-example): configure and add magic link login#142
andrascodes merged 1 commit into
mainfrom
andras/feat-expo-example-configure-and-add-magic-link-login

Conversation

@andrascodes
Copy link
Copy Markdown
Collaborator

@andrascodes andrascodes commented Apr 29, 2026

This PR is part of a stack created with Aviator.

Closes FS-2088

Added magic link auth to the expo-example app and aligned it with the existing OTP to use the same hook to persist the data and the same input - resulting in a new EmailAuth component.
Made a change to how the app handles Redirect URIs as well: I added 1 Env Var to decide between using App Links or Deep Links. For App Links we derive the Redirect URIs from the RP_ID. Since for connecting a domain to an app a file needs to be served from the domain, it makes sense to use the same domain and RP_ID for Passkeys, Universal Links (both OAuth and Magic Link Redirect URIs) and Origin headers.
Setting up the new /verify-email callback involved adding a new intent in app.json as well, so the app opens when the right callback is opened from the email.

@andrascodes andrascodes marked this pull request as ready for review April 29, 2026 16:40
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 038a77f to 4e1ddf4 Compare April 30, 2026 16:43
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch 3 times, most recently from 08a73b6 to e57e729 Compare May 4, 2026 13:12
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from b16289e to f85ba70 Compare May 4, 2026 16:56
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch 2 times, most recently from aaf3950 to 768b276 Compare May 5, 2026 11:02
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch 2 times, most recently from 4cfdbeb to 7419e0d Compare May 5, 2026 11:28
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from 768b276 to f0895da Compare May 5, 2026 11:28
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from f0895da to 63256a1 Compare May 5, 2026 13:22
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 7419e0d to 0d1ee27 Compare May 5, 2026 13:22
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from 63256a1 to c4611ca Compare May 5, 2026 14:31
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 0d1ee27 to cae5acb Compare May 5, 2026 14:31
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch 2 times, most recently from 91832c0 to edea60d Compare May 6, 2026 12:18
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 4f8fd58 to eabaca3 Compare May 6, 2026 13:26
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from edea60d to 57420ef Compare May 6, 2026 13:26
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 629cb2c to 246a94b Compare May 13, 2026 10:45
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 246a94b to ff5780b Compare May 13, 2026 11:31
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from f2de218 to 6bfcd21 Compare May 13, 2026 11:31
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from 6bfcd21 to fd2ecf9 Compare May 13, 2026 12:00
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from ff5780b to 290a894 Compare May 13, 2026 12:00
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from fd2ecf9 to 4bb2387 Compare May 13, 2026 14:38
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from 4bb2387 to b748b5e Compare May 13, 2026 16:07
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 1942f3e to a43eaaf Compare May 13, 2026 16:07
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from a43eaaf to 2dfe3b7 Compare May 13, 2026 17:08
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from b748b5e to 0434ba0 Compare May 13, 2026 17:08
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from 0434ba0 to 81c7db9 Compare May 14, 2026 05:50
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 2dfe3b7 to 2e098e0 Compare May 14, 2026 05:50
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from 2e098e0 to b4c71ef Compare May 14, 2026 06:09
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from 81c7db9 to d55dcb5 Compare May 14, 2026 06:09
@andrascodes andrascodes force-pushed the andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper branch from b4c71ef to a8d9604 Compare May 14, 2026 06:43
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from d55dcb5 to 7ecc93f Compare May 14, 2026 06:43
@andrascodes andrascodes changed the base branch from andras/fix-expo-example-add-eas-local-build-config-and-fix-hmr-bug-with-securestorestamper to main May 14, 2026 12:59
@andrascodes andrascodes force-pushed the andras/feat-expo-example-configure-and-add-magic-link-login branch from 7ecc93f to 67a3df9 Compare May 14, 2026 13:00
@andrascodes andrascodes merged commit 7fe21f7 into main May 14, 2026
11 checks passed
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