OpenID Connect (OIDC) client with React and typescript
-
This is sample application that contains oidc-client-js and
React
withTypescript
. -
The application is based on
create-react-app
- Create React App
git clone https://github.com/skoruba/react-oidc-client-js.git
cd src/
- Install dependecies -
yarn install
-
yarn start
- start the web server that is running on http://localhost:4200 -
The application is connected to
OpenID Connect Provider
that is running on https://demo.identityserver.io/ -
This STS has configured a SPA client to run on http://localhost:4200, therefore a sample application will be running on this port
4200
.