This is the companion code for this blog post.
You can get this code by cloning this repository:
git clone https://github.com/oktadeveloper/okta-ant-design-react-example.git
Make sure you have the dependencies by running:
npm install
Add your Okta credentials to a .env
file:
REACT_APP_OKTA_CLIENTID={yourClientId}
REACT_APP_OKTA_URL_BASE={yourOktaDomain}
REACT_APP_OKTA_APP_BASE_URL=http://localhost:3000
Start the application with:
npm start
If you have comments or questions about this code, please post them to the blog post comments. If you have questions about developing with Okta, post them to the Okta Developer Forum
Apache 2.0 See LICENSE