Skip to content

An example web app demonstrating how to refresh/add credentials to a permanent user.

License

Notifications You must be signed in to change notification settings

tink-ab/tink-link-web-permanent-users-example

Repository files navigation

Tink Link web permanent users example

This is an example app showing how to add/refresh credentials for permanent users. This project was bootstrapped with create-react-app.

Installation

Running this example application requires CLIENT_ID and CLIENT_SECRET which you can get by creating a developer account at Tink Console.

Running the app locally

  1. Install dependencies
yarn
  1. Set your client identifier and client secret as environment variables.
export REACT_APP_TINK_LINK_PERMANENT_USERS_CLIENT_ID='<YOUR_CLIENT_ID>'
export TINK_LINK_PERMANENT_USERS_CLIENT_SECRET='<YOUR_CLIENT_SECRET>'
  1. Set variables in .env.development.
REACT_APP_TINK_LINK_PERMANENT_USERS_MARKET='<MARKET_CODE>'
  1. Run client and server in terminal separately
yarn start:client
yarn start:server

The client app is available at http://localhost:3000. The server is running at http://localhost:8080.

Optional

If you want to be able to initiate payments, you need to generate a paymentRequestId following this guide and set it as REACT_APP_TINK_LINK_PERMANENT_PAYMENT_REQUEST_ID in .env.development.

Resources

For more information about permanent users please visit our documentation page.

About

An example web app demonstrating how to refresh/add credentials to a permanent user.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published