{"id":28025945,"url":"https://github.com/codercatdev/appwrite-fusionauth","last_synced_at":"2025-10-24T15:44:38.087Z","repository":{"id":203204602,"uuid":"709062555","full_name":"codercatdev/appwrite-fusionauth","owner":"codercatdev","description":"Testing for FusionAuth in Appwrite as OAuth2 provider","archived":false,"fork":false,"pushed_at":"2023-10-24T00:37:31.000Z","size":12025,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T04:54:01.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Svelte","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/codercatdev.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-23T23:55:19.000Z","updated_at":"2023-10-23T23:55:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f5a9f5e-288a-4ed6-984e-9482cec6a2d5","html_url":"https://github.com/codercatdev/appwrite-fusionauth","commit_stats":null,"previous_names":["codercatdev/appwrite-fusionauth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codercatdev/appwrite-fusionauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codercatdev%2Fappwrite-fusionauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codercatdev%2Fappwrite-fusionauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codercatdev%2Fappwrite-fusionauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codercatdev%2Fappwrite-fusionauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codercatdev","download_url":"https://codeload.github.com/codercatdev/appwrite-fusionauth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codercatdev%2Fappwrite-fusionauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270974809,"owners_count":24678250,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-05-11T04:53:59.932Z","updated_at":"2025-10-24T15:44:33.036Z","avatar_url":"https://github.com/codercatdev.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test using FusionAuth in Appwrite\n\nThis is to use a new Provider in Appwrite\n\n## Setup FusionAuth using Sandbox\n\nWhile this could easily be setup locally this seems a bit easier.\n\nLogin using the Email and Password provided on the initial screen.\n\n![](./screenshots/1.png)\n\nCreate a new Application Called `AppwriteTesting` make sure that `Authorization Code` and `Refresh Token` are checked.\n\n![](./screenshots/2.png)\n\nSave this application\n\n## Setup Appwrite\n\nIf testing this before merged make sure to use both the `appwrite` and `console` repos\n\nPull Requests: \n\nhttps://github.com/appwrite/appwrite/pull/6995\nhttps://github.com/appwrite/console/pull/599\n\nMaking sure to be on branch (for both): `codercatdev:feat-fusionauth-provider`\n\nSign Into Appwrite\n![](./screenshots/3.png)\n\nCreate Project named `AppwriteTest`\n\nAdd a platform for Web \nName: `AppwriteTestWeb` \nHostname `localhost`\n![](./screenshots/4.png)\n\nNote your the `Initialize SDK` has your projectId.\n\n![](./screenshots/5.png)\n\nIn Auth -\u003e Settings Find and Enable the Provider `FusionAuth`\n\n![](./screenshots/6.png)\n\n\nIn order to find the Client Id and Client Secret you will need to go back into sandbox [applications](https://sandbox.fusionauth.io/admin/application/). Click on the magnifying glass by `AppwriteTesting`. \n\n![](./screenshots/7.png)\n\nCopy these over to the `FusionAuth OAuth2 Settings` form as well as typing in `sandbox.fusionauth.io` into the FusionAuth Domain field.\n\n![](./screenshots/8.png)\n\n## Update FusionAuth redirect\n\nIn order for a valid redirect to be used you will need to copy the URI provided in the bottom of the `FusionAuth OAuth2 Settings` form.\n\nExample `http://localhost/v1/account/sessions/oauth2/callback/fusionauth/65370bc4301ee8602df9`\n\nThis will then need to be added to the FusionAuth Application by clicking the edit pencil next to `AppwriteTesting`.\n\n\u003e Make sure when you paste click the blue box below and make sure it gets set.\n\n![](./screenshots/9.png)\n\nNow save the application\n\n## Update .env.local\n\nRename `.env.local-template` to `.env.local`.\n\nUpdate `.env.local` with `PUBLIC_APPWRITE_PROJECT` and `PUBLIC_APPWRITE_URL`.\n\nIf you don't know where to find your `PUBLIC_APPWRITE_PROJECT` it is by the title. \n\n![](./screenshots/10.png)\n\nThe `PUBLIC_APPWRITE_URL` will either be `http://localhost/v1` or your cloud instance `cloud.appwrite.io`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodercatdev%2Fappwrite-fusionauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodercatdev%2Fappwrite-fusionauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodercatdev%2Fappwrite-fusionauth/lists"}