Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 767 Bytes

File metadata and controls

18 lines (14 loc) · 767 Bytes

React

A very simple and straightforward application that demonstrates how you can connect a client made in React to island.is IdentityServer

The service is setup with environment variables for nonproduction only To use the sample, ypu need to change the config to match your client's See example config:

REACT_APP_IDS_AUTHORITY=https://identity-server.staging01.devland.is/
REACT_APP_CLIENT_ID=<YOUR_CLIENT_ID>
REACT_APP_ROOT=http://localhost:4200/
REACT_APP_SCOPE=openid profile api.scope
REACT_APP_NETCORE_SERVICE=https://localhost:5001/
REACT_APP_NEST_SERVICE=http://localhost:5001/

To run this app run the command npm start in a console of your choosing at the root of the project and navigate to http://localhost:4200/test