This repository has been archived by the owner on Jan 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(context): migrate to new context api and use hooks - migrate to React.createContext api, fix #428 - provide useOkta hook api, fix #429 * updates README to include hook usage * updates README * Updates to React Hooks; allows non-react-router routers * feat(context): migrate to new context api and use hooks - migrate to React.createContext api, fix #428 - provide useOkta hook api, fix #429 * updates README to include hook usage * updates README * Updates to React Hooks; allows non-react-router routers * Updates typos and build errors * reduces dependency on react-router, updates tests (still broken) * Aaron WIP * Aaron WIP (#681) Co-authored-by: Aaron Granick <[email protected]> * updates internal eventId/Count to _subscriberXXX * fix e2e * fix error messages from unit tests * Updates unit tests, changes error handling * removes FIXME * replaces Auth with AuthService and merges hooks into useOktaAuth * updates docs/tests. Adds error rendering * adds race management (#682) * Proposal for handling updating AuthState while handleAuthentication waiting * isolating update pending to updateAuthState * remembers to clear authStateUpdatePending * prevents overlapping calls to handleAuthentication from confusing things * Adds getAuthState() * adds small fixes, tests (#683) Co-authored-by: Aaron Granick <[email protected]> * cleans up README, removes misleading returns * fixes handleAuthentication to check getAuthState * Updates README per PR comments Co-authored-by: Sibelius Seraphini <[email protected]> Co-authored-by: Aaron Granick <[email protected]>
- Loading branch information
1 parent
3b450d4
commit ccc33b5
Showing
26 changed files
with
5,805 additions
and
3,399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.