Skip to content

Sample app demonstrating how to use the library redux-oidc using the grant type Authorization Code with PKCE with react-router

License

Notifications You must be signed in to change notification settings

henriquels25/redux-oidc-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Status

redux-oidc-sample

Sample app demonstrating how to use the library redux-oidc using the grant type Authorization Code with PKCE with react-router.

How to run

  • Clone this repository. You will need node and npm installed globally on your machine.

    $ git clone https://github.com/henriquels25/redux-oidc-sample

  • Install the dependencies

    $ cd redux-oidc-sample
    $ npm install

Execution profiles

This project contains two execution scripts:

Live application

You can access a live version of this application integrated with the Okta authorization server in this link.

Okta Authorization Server

A free authorization server was setup in Okta, configured to only accept the authorization code flow and requests from the following clients:

You can use the following credentials to login in the application:

Username: [email protected]
Password: EC5tX7<x/n'[#'UH

The access token expiration time is set to 5 minutes and the silent refresh in enabled in this application.

Mock Authorization Server

This project uses oauth2-mock-server as a mock authorization server in order to have a working local profile.

Contributing

If you have an idea how to improve this sample project, please open an issue or submit a PR.

About

Sample app demonstrating how to use the library redux-oidc using the grant type Authorization Code with PKCE with react-router

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published