<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/use-redux-to-manage-authenticated-state-in-a-react-app-e1lj-141z" -->

---
title: Use Redux to Manage Authenticated State in a React App
description: React provides the option of using Redux to Manage Authenticated State in a React App. For more complex scenarios where you need a single source of truth that...
canonical: https://daily.dev/posts/use-redux-to-manage-authenticated-state-in-a-react-app-e1lj-141z
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Use Redux to Manage Authenticated State in a React App | daily.dev
og:description: React provides the option of using Redux to Manage Authenticated State in a React App. For more complex scenarios where you need a single source of truth that...
og:url: https://daily.dev/posts/use-redux-to-manage-authenticated-state-in-a-react-app-e1lj-141z
og:image: https://api.daily.dev/og/posts/E1lj-141Z.png
og:image:alt: Use Redux to Manage Authenticated State in a React App
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Redux to Manage Authenticated State in a React App

**[Okta Dev](https://daily.dev/sources/okta)** · 9 min read · 49 upvotes · 3 comments

## Summary

React provides the option of using Redux to Manage Authenticated State in a React App. For more complex scenarios where you need a single source of truth that changes frequently, consider using a more robust state management library. The Okta CLI will create an OIDC Single-Page App in your Okta Org. It will add the redirect URIs you specified and grant access to the Everyone group. You can also use the Okta Admin Console to create your app.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://developer.okta.com/blog/2022/08/29/react-typescript-redux>

## Community discussion

Top comments from developers on daily.dev.

**@anton1412** · 0 upvotes

> Thanks, very nice post!

**@thunder\_bluephoenix** · 0 upvotes

> great

**@raqibnur** · 0 upvotes

> Thanks! Great content.

---

Tags: [#react](https://daily.dev/tags/react), [#authentication](https://daily.dev/tags/authentication), [#typescript](https://daily.dev/tags/typescript), [#redux](https://daily.dev/tags/redux), [#okta](https://daily.dev/tags/okta)

[View this post on daily.dev](https://daily.dev/posts/use-redux-to-manage-authenticated-state-in-a-react-app-e1lj-141z)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Use Redux to Manage Authenticated State in a React App","url":"https://daily.dev/posts/use-redux-to-manage-authenticated-state-in-a-react-app-e1lj-141z","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/use-redux-to-manage-authenticated-state-in-a-react-app-e1lj-141z"},"datePublished":"2022-08-29T14:34:19.465Z","dateModified":"2022-08-29T14:34:19.407Z","description":"React provides the option of using Redux to Manage Authenticated State in a React App. For more complex scenarios where you need a single source of truth that...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/93fa69a5ac6aa3f530a5c9d285a633bd","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/93fa69a5ac6aa3f530a5c9d285a633bd","isAccessibleForFree":true,"articleSection":"Okta Dev","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Okta Dev","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/17da1ccc02574ef9838f856af0e10def","url":"https://daily.dev/sources/okta"},"commentCount":3,"discussionUrl":"https://daily.dev/posts/use-redux-to-manage-authenticated-state-in-a-react-app-e1lj-141z","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":49},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":3}],"keywords":"react,authentication,typescript,redux,okta","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Okta Dev","item":"https://daily.dev/sources/okta"},{"@type":"ListItem","position":3,"name":"Use Redux to Manage Authenticated State in a React App"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/use-redux-to-manage-authenticated-state-in-a-react-app-e1lj-141z","comment":[{"@type":"Comment","text":"Thanks, very nice post!","datePublished":"2022-08-29T20:39:17.824Z","url":"https://daily.dev/posts/E1lj-141Z#c-PuzK7SlmA","author":{"@type":"Person","name":"Anton Mz","url":"https://daily.dev/anton1412","image":"https://lh3.googleusercontent.com/a-/AFdZucoV2tHYzET9Q7I8OBnwg_aONpEka-VQYb7SlIq9Ug=s100"}},{"@type":"Comment","text":"great","datePublished":"2022-08-29T17:58:11.336Z","url":"https://daily.dev/posts/E1lj-141Z#c-qoeI8MapR","author":{"@type":"Person","name":"Rahul Sarkar","url":"https://daily.dev/thunder_bluephoenix","image":"https://avatars.githubusercontent.com/u/70109622?v=4"}},{"@type":"Comment","text":"Thanks! Great content.","datePublished":"2022-08-31T17:15:33.509Z","url":"https://daily.dev/posts/E1lj-141Z#c-CtM3ER8xH","author":{"@type":"Person","name":"raqib nur","url":"https://daily.dev/raqibnur","image":"https://media.daily.dev/image/upload/s--seLSoAVy--/f_auto/v1736312346/avatars/avatar_r-mKekZy5"}}]}
```

