-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): 18520 auth fixes and refactors (#819)
* implemented end session flow via endpoint * automatic logout only on 401 from dedicated request to token endpoint * refresh token during authClient init, all requests will use fresh token from app start * extracted token management from apiClient to OidcSimpleClient, * authClientInstance is OidcSimpleClient now, AuthClient and irrelevant code removed, necessary methods are used directly * adjusted naming in auth-related code to align more with standarts and existing solutions * move ~core/auth/types to ~core/app/types as it has app-related types * simplify and streamline init flow, remove unecessary atoms dependencies, reduce early activation issues * reduce reactive usage of featureFlags * add Suspense with preloader in view hierarchy to keep sidebar visible during loading, fixes (19141) * map adapter: removed heavy react-dom/server dependency (~50kb in bundle) and unused or irrelevant code * drop date-fns in favor of native function
- Loading branch information
Showing
52 changed files
with
1,664 additions
and
2,025 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
Oops, something went wrong.