{"id":18326867,"url":"https://github.com/codatio/demo-auth-flow","last_synced_at":"2025-04-06T01:31:56.185Z","repository":{"id":88229306,"uuid":"478941262","full_name":"codatio/demo-auth-flow","owner":"codatio","description":"An app that demonstrates the potential implementation of the Codat Link product.","archived":false,"fork":false,"pushed_at":"2024-03-28T10:47:49.000Z","size":1253,"stargazers_count":4,"open_issues_count":7,"forks_count":2,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-21T14:23:15.038Z","etag":null,"topics":["codat","demo"],"latest_commit_sha":null,"homepage":"https://link-demo.codat.io","language":"JavaScript","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/codatio.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}},"created_at":"2022-04-07T10:47:57.000Z","updated_at":"2024-10-14T16:51:26.000Z","dependencies_parsed_at":"2024-03-28T11:53:22.695Z","dependency_job_id":"cb61f716-716d-459c-9f62-d543c5434ed3","html_url":"https://github.com/codatio/demo-auth-flow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codatio%2Fdemo-auth-flow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codatio%2Fdemo-auth-flow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codatio%2Fdemo-auth-flow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codatio%2Fdemo-auth-flow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codatio","download_url":"https://codeload.github.com/codatio/demo-auth-flow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423469,"owners_count":20936621,"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":["codat","demo"],"created_at":"2024-11-05T19:08:31.516Z","updated_at":"2025-04-06T01:31:55.045Z","avatar_url":"https://github.com/codatio.png","language":"JavaScript","readme":"# demo-auth-flow\n\nThis project is a simple implementation of a Codat custom-built [auth flow]([https://docs.codat.io/docs/auth-flow](https://docs.codat.io/auth-flow/build/build-your-own-authorization-journey)), enabling your customers to connect their financial accounts. You can experience the demo [here](https://codat-dev-link-demo.azurewebsites.net/home).\n\nWe recommend, where possible, using our [Embedded Link SDK](https://docs.codat.io/auth-flow/authorize-embedded-link).\n\nNote: _This app is for demonstrative purposes only, and should not be used in a production environment._\n\n## The demo\n\nThis demo is indicative of a where Codat might fit in to a digital lending onboarding experience. Copay is a fictional digital lender looking to gather financial data from prospective customers in order to make a credit decision.\n\n## Running the project\n\n### Prerequisites\n* Set up a Codat account if you don't have one already. See [Codat's documentation](https://docs.codat.io/docs/your-first-call-to-the-api-using-api-explorer#find-your-api-key) for how to sign up for a free trial.\n* Make sure you have a recent LTS version of `Node.js` installed.\n* After the linking process is complete, the user should be redirected back to the Link demo app. Set up the redirect URL to `https://localhost:3000/redirect` To set up the redirect URL, follow the instructions in [Codat's documentation on Redirect URLs](https://docs.codat.io/docs/redirect-urls).\n\n### Installation\n1. Get your Codat client API key. See [here](https://docs.codat.io/using-the-api/authentication) for how to get your API key.\n2. Install NPM packages:\n   ```sh\n   npm install\n   ```\n4. Copy the `.env.template` file in the `server` directory and rename it `.env`\n3. Replace the following in the newly created `.env` file in the `server` directory\n   - `{{CODAT_API_KEY}}` with your Codat client API key\n4. Start the app. This will run the app in a watch build mode.\n   ```sh\n   npm start\n   ```\n5. Navigate to http://localhost:3000\n\n## Built with:\n\n### UI\n* [React.js](https://reactjs.org/)\n* [Create React App](https://create-react-app.dev/) to bootstrap the UI\n* [Material UI](https://mui.com/)\n\n### Server\n* [Express.js](https://expressjs.com/)\n* [Concurrently](https://www.npmjs.com/package/concurrently)\n\n  \u003e`Concurrently` is to run the client and server code concurrently in a local environment.\n* [Node.js](https://nodejs.org/en/), long-term support (LTS) version\n* [nodemon](https://www.npmjs.com/package/nodemon)\n* [node-localstorage](https://www.npmjs.com/package/node-localstorage)\n  \u003e`node-localstorage` is used to mock out a proper data store system. Merchant data is stored locally. If deployed to a cloud environment, this will be wiped with each new release.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodatio%2Fdemo-auth-flow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodatio%2Fdemo-auth-flow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodatio%2Fdemo-auth-flow/lists"}