{"id":18298484,"url":"https://github.com/fusionauth/fusionauth-quickstart-react-native","last_synced_at":"2026-02-01T09:33:22.380Z","repository":{"id":191708901,"uuid":"684584490","full_name":"FusionAuth/fusionauth-quickstart-react-native","owner":"FusionAuth","description":"Sample application for the React Native quickstart app","archived":false,"fork":false,"pushed_at":"2024-07-28T05:57:15.000Z","size":235,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-12-17T14:44:10.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/FusionAuth.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-29T12:46:05.000Z","updated_at":"2024-08-25T17:54:41.000Z","dependencies_parsed_at":"2023-08-31T09:28:26.603Z","dependency_job_id":"c656192b-2f85-40e5-b420-fea231fbaccd","html_url":"https://github.com/FusionAuth/fusionauth-quickstart-react-native","commit_stats":null,"previous_names":["fusionauth/fusionauth-quickstart-react-native"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FusionAuth/fusionauth-quickstart-react-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-quickstart-react-native/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-react-native/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28975259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T08:16:14.655Z","status":"ssl_error","status_checked_at":"2026-02-01T08:06:51.373Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-05T15:06:09.878Z","updated_at":"2026-02-01T09:33:22.367Z","avatar_url":"https://github.com/FusionAuth.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quickstart: React Native app with FusionAuth\n\nThis repository contains a React Native app that works with a locally running instance of [FusionAuth](https://fusionauth.io/), the authentication and authorization platform.\n\n## Setup\n\n### Prerequisites\n\n- [Node](https://nodejs.org): This will be used to set up your project.\n- To test on Android devices, you can either connect a physical device or [Android Studio](https://developer.android.com/studio) to set up an emulator.\n- To test on iOS devices, you'll need a Mac and install [Xcode](https://developer.apple.com/xcode/) to set up an emulator.\n- [Docker](https://www.docker.com): The quickest way to stand up FusionAuth.\n  - (Alternatively, you can [Install FusionAuth Manually](https://fusionauth.io/docs/v1/tech/installation-guide/)).\n\nThis app has been tested with React Native 0.72.4 and Node 20.\n\n### FusionAuth Installation via Docker\n\nThe root of this project directory (next to this README) are two files [a Docker compose file](./docker-compose.yml) and an [environment variables configuration file](./.env). Assuming you have Docker installed on your machine, you can stand up FusionAuth up on your machine with:\n\n```\ndocker compose up -d\n```\n\nThe FusionAuth configuration files also make use of a unique feature of FusionAuth, called [Kickstart](https://fusionauth.io/docs/v1/tech/installation-guide/kickstart): when FusionAuth comes up for the first time, it will look at the [Kickstart file](./kickstart/kickstart.json) and mimic API calls to configure FusionAuth for use when it is first run.\n\n\u003e **NOTE**: If you ever want to reset the FusionAuth system, delete the volumes created by Docker Compose by executing `docker compose down -v`.\n\nFusionAuth will be initially configured with these settings:\n\n* Your client Id is: `e9fdb985-9173-4e01-9d73-ac2d60d1dc8e`\n* Your client secret is: `super-secret-secret-that-should-be-regenerated-for-production`\n* Your example username is `richard@example.com` and your password is `password`.\n* Your admin username is `admin@example.com` and your password is `password`.\n* Your FusionAuth instance URL is: `http://localhost:9011/`\n\nYou can log into the [FusionAuth admin UI](http://localhost:9011/admin) and look around if you want, but with Docker/Kickstart you don't need to.\n\n### React Native application\n\nThe `complete-application` directory contains a minimal React Native app configured to authenticate with locally running FusionAuth.\n\nInstall dependencies and run the [Expo](https://expo.dev/) server with:\n\n```shell\ncd complete-application\nnpm install\nnpx expo start\n```\n\nAfter waiting a few moments, you should see a QR Code and a menu with some actions. Right below the QR Code, you'll see a message like this one _(the real address may vary)_.\n\n```\n› Metro waiting on exp://192.168.1.2:8081\n```\n\nTo use [Expo Go](https://docs.expo.dev/get-started/expo-go/), a client for testing your apps on Android and iOS devices without building anything locally, you need to:\n\n* Copy that listening address (`exp://192.168.1.2:8081`).\n* Navigate to your FusionAuth instance on [localhost:9011](http://localhost:9011).\n* Browse to **Applications**.\n* Click on \u003cIconButton icon=\"edit\" color=\"blue\" /\u003e in your `ExampleReactNativeApp` to edit it.\n* Go to the **OAuth** tab.\n* Add that address to **Authorized redirect URLs**.\n* Click on \u003cIconButton icon=\"save\" color=\"blue\" /\u003e to save your changes.\n\nGo back to the terminal with the Expo menu.\n\n* If you want to test on an Android device:\n  * Connect a physical device via USB or install [Android Studio](https://developer.android.com/studio) to set up an emulator.\n  * Press `a` in the Expo menu.\n* If you want to test on an iOS device and are running a Mac:\n  * Install [Xcode](https://developer.apple.com/xcode/) to set up an emulator.\n  * Press `i` to run on the emulated iOS device.\n\nWhen the application starts in your physical or emulated device, click `Log in` and fill in the credentials for a user preconfigured during Kickstart, `richard@example.com` with the password of `password`.\n\n### Further Information\n\nVisit https://fusionauth.io/docs/quickstarts/quickstart-react-native for a step by step guide on how to build this React Native app integrated with FusionAuth by scratch.\n\n### Troubleshooting\n\n* I keep receiving an `invalid_redirect_uri` when running the app with Expo Go\n\nMake sure you have updated the **Authorized redirect URLs** in your [FusionAuth instance](http://localhost:9011) like shown on the [React Native application](#React-Native-application) step.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-react-native/lists"}