{"id":26462924,"url":"https://github.com/clerk/clerk-expo-starter","last_synced_at":"2025-03-19T06:26:15.572Z","repository":{"id":50436060,"uuid":"432975574","full_name":"clerk/clerk-expo-starter","owner":"clerk","description":"Expo starter project using Clerk for authentication","archived":false,"fork":false,"pushed_at":"2024-04-19T20:03:18.000Z","size":2517,"stargazers_count":80,"open_issues_count":9,"forks_count":17,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-19T21:24:42.205Z","etag":null,"topics":["auth","clerk","expo","react-native"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clerk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-11-29T09:15:41.000Z","updated_at":"2024-04-13T03:24:59.000Z","dependencies_parsed_at":"2023-09-28T10:42:34.859Z","dependency_job_id":"7e0b69b2-94de-461d-9d99-60dc225b749e","html_url":"https://github.com/clerk/clerk-expo-starter","commit_stats":null,"previous_names":["clerk/clerk-expo-starter","clerkinc/clerk-expo-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-expo-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-expo-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-expo-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-expo-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clerk","download_url":"https://codeload.github.com/clerk/clerk-expo-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244367561,"owners_count":20441911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth","clerk","expo","react-native"],"created_at":"2025-03-19T06:26:14.965Z","updated_at":"2025-03-19T06:26:15.562Z","avatar_url":"https://github.com/clerk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://clerk.dev?utm_source=github\u0026utm_medium=clerk_expo\" target=\"_blank\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./docs/clerk-logo-dark.png\"\u003e\n      \u003cimg src=\"./docs/clerk-logo-light.png\" height=\"64\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n# Clerk Expo Starter\n\n\u003e If you want to use the new file-system based router that was introduced with [Expo Router V2](https://blog.expo.dev/introducing-expo-router-v2-3850fd5c3ca1), you can check out [this branch](https://github.com/clerkinc/clerk-expo-starter/tree/router-v2)\n\nThis starter project shows how to use [Clerk](https://www.clerk.dev/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=expo_starter) with [Expo](https://expo.dev/) to authenticate users in your [React Native](https://reactnative.dev/) application. When users sign up or sign in, Clerk handles the state of the authentication and switches between public or [protected routes](https://reactnavigation.org/docs/auth-flow).\n\n[![chat on Discord](https://img.shields.io/discord/856971667393609759.svg?logo=discord)](https://discord.com/invite/b5rXHjAg7A)\n[![documentation](https://img.shields.io/badge/documentation-clerk-green.svg)](https://docs.clerk.dev)\n[![twitter](https://img.shields.io/twitter/follow/ClerkDev?style=social)](https://twitter.com/intent/follow?screen_name=ClerkDev)\n\n---\n\n**Clerk is Hiring!**\n\nWould you like to work on Open Source software and help maintain this repository? [Apply today!](https://apply.workable.com/clerk-dev/)\n\n---\n\n## Demo\n\n### Sign up using One-time passcodes (OTP) \u0026 Sign in using OAuth\n\n\u003cdiv float=\"left\"\u003e\n  \u003cimg src=\"./docs/sign-up-otp-demo.gif\" height=\"300\"\u003e\n  \u003cimg src=\"./docs/sign-in-oauth-demo.gif\" height=\"300\"\u003e\n\u003c/div\u003e\n\n## Getting Started\n\n### Prerequisites\n\n- React v16+\n- Node.js v14+\n\n### Setup\n\nTo run the example locally you need to:\n\n1. Sign up at [Clerk.dev](https://www.clerk.dev/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=expo_starter).\n2. Go to your [Clerk dashboard](https://dashboard.clerk.dev/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=expo_starter) and create an application.\n3. Set your publishableKey in `App.tsx` or if you are using a legacy key frontendApi\n4. `npm i` to install the required dependencies.\n5. `npm run start` to launch the Expo development server.\n\n### Sign up \u0026 Sign in configuration\n\nFor the sign up flow to work as demonstrated, you need to log into your [Clerk Dashboard](https://dashboard.clerk.dev/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=expo_starter) and make sure the following settings have been configured in **User \u0026 Authentication** and **Social login** sections:\n\n#### For development instances\n\n1. In Contact information section enable **Email Address** and pick **Email verification code** method in the modal.\n2. In Authentication factors section enable **Password** and **Email verification code**.\n3. In Personal information, enable **Name** to use first and last names during sign up\n4. In Social Login, enable **Google** Oauth provider.\n\n#### For production instances\n\n1. Follow all the steps above\n2. Whitelist your custom redirect URL via [Clerk Dashboard](https://dashboard.clerk.dev/last-active?path=/user-authentication/social-login) for maximum security during native OAuth flows.\n   ![This is an image](./docs/whitelist-redirect-urls-for-mobile-oauth.png)\n\n## Learn more\n\nTo learn more about Clerk and Expo, take a look at our\n[official documentation](https://reference.clerk.dev/reference/clerk-expo?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=expo_starter).\n\n## Support\n\nYou can get in touch with us in any of the following ways:\n\n- Join our official community [Discord server](https://discord.com/invite/b5rXHjAg7A)\n- Open a [GitHub support issue](https://github.com/clerkinc/javascript/issues/new?assignees=\u0026labels=question\u0026template=ask_a_question.md\u0026title=Support%3A+)\n- Contact options listed on [our Support page](https://clerk.dev/support?utm_source=github\u0026utm_medium=clerk_expo_starter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fclerk-expo-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclerk%2Fclerk-expo-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fclerk-expo-starter/lists"}