Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging out of Gitlab and clearing session storage #793

Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
86e4590
Fix invalid hook call
atomicgamedeveloper May 30, 2024
b992717
Simplify invalid hook fix
atomicgamedeveloper May 30, 2024
8fdf091
Refactoring signOut
atomicgamedeveloper Jun 4, 2024
bbecb64
Fixes logout
atomicgamedeveloper Jun 13, 2024
c3c6c52
Clean cookies and session storage post logout
atomicgamedeveloper Jun 14, 2024
8b2268e
Goto backend login using signoutSilent and reload
atomicgamedeveloper Jun 17, 2024
a48b3ec
Changed alert into Error
atomicgamedeveloper Jun 17, 2024
292d882
Simplify by removing revokeTokens, removeUser and clearStaleState
atomicgamedeveloper Jun 17, 2024
b071d52
Update test README.md and package.js command
atomicgamedeveloper Jun 18, 2024
083e558
Add Authentication.test.ts
atomicgamedeveloper Jun 18, 2024
0ea5e4b
Add throw test upon bad logout redirect URI
atomicgamedeveloper Jun 19, 2024
26c7c4e
Add sessionStorage clear, fetch and error tests
atomicgamedeveloper Jun 20, 2024
b688730
Fix URL in signOut
atomicgamedeveloper Jun 20, 2024
9beb3b4
Add negative signOutSilent test
atomicgamedeveloper Jun 20, 2024
8f69fe1
Add and improve tests
atomicgamedeveloper Jun 21, 2024
34f1563
Downgrade typescript and ts-jest
atomicgamedeveloper Jun 23, 2024
ed13620
Reinstate refresh and access token revocation
atomicgamedeveloper Jun 24, 2024
ecf6367
Add additional tests for latest signOut changes
atomicgamedeveloper Jun 25, 2024
9f163f1
Remove eslint-disable line frmo Authentication.ts
atomicgamedeveloper Jun 25, 2024
796324a
Add 30 second fetch-timeout, tests and reload to avoid oauth bug
atomicgamedeveloper Jun 25, 2024
48b3ad8
Add 3 second timeout before reloading page and useAppURL
atomicgamedeveloper Jun 28, 2024
b1003df
Merge branch 'INTO-CPS-Association:feature/distributed-demo' into 479…
atomicgamedeveloper Jul 2, 2024
bda4a1b
Fix build error by exporting useAPPURL
atomicgamedeveloper Jul 3, 2024
cf28d89
Update Authentication tests
atomicgamedeveloper Jul 4, 2024
19bd8c5
Fix invalid hook call
atomicgamedeveloper May 30, 2024
560d0bb
Simplify invalid hook fix
atomicgamedeveloper May 30, 2024
085f753
Refactoring signOut
atomicgamedeveloper Jun 4, 2024
e91ee19
Fixes logout
atomicgamedeveloper Jun 13, 2024
6739321
Clean cookies and session storage post logout
atomicgamedeveloper Jun 14, 2024
4c0c2f4
Goto backend login using signoutSilent and reload
atomicgamedeveloper Jun 17, 2024
478d88c
Changed alert into Error
atomicgamedeveloper Jun 17, 2024
5af3c68
Simplify by removing revokeTokens, removeUser and clearStaleState
atomicgamedeveloper Jun 17, 2024
0f9cdb2
Update test README.md and package.js command
atomicgamedeveloper Jun 18, 2024
0d206a8
Add Authentication.test.ts
atomicgamedeveloper Jun 18, 2024
1395146
Add throw test upon bad logout redirect URI
atomicgamedeveloper Jun 19, 2024
f96b553
Add sessionStorage clear, fetch and error tests
atomicgamedeveloper Jun 20, 2024
8ef315c
Fix URL in signOut
atomicgamedeveloper Jun 20, 2024
f916d10
Add negative signOutSilent test
atomicgamedeveloper Jun 20, 2024
521932a
Add and improve tests
atomicgamedeveloper Jun 21, 2024
5d094ed
Downgrade typescript and ts-jest
atomicgamedeveloper Jun 23, 2024
4bc6ce5
Reinstate refresh and access token revocation
atomicgamedeveloper Jun 24, 2024
3e0acf6
Add additional tests for latest signOut changes
atomicgamedeveloper Jun 25, 2024
3b79ffe
Remove eslint-disable line frmo Authentication.ts
atomicgamedeveloper Jun 25, 2024
9445d76
Add 30 second fetch-timeout, tests and reload to avoid oauth bug
atomicgamedeveloper Jun 25, 2024
d788bc9
Add 3 second timeout before reloading page and useAppURL
atomicgamedeveloper Jun 28, 2024
be8f7e7
Fix build error by exporting useAPPURL
atomicgamedeveloper Jul 3, 2024
6364924
Update Authentication tests
atomicgamedeveloper Jul 4, 2024
5402b78
Merge branch '479-proper-gitlab-log-out' of https://github.com/atomic…
atomicgamedeveloper Jul 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove eslint-disable line frmo Authentication.ts
atomicgamedeveloper committed Jun 25, 2024
commit 9f163f11dc6200955651de4d4e046251cfe19cbf
1 change: 0 additions & 1 deletion client/src/util/auth/Authentication.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable */
import { User } from 'oidc-client-ts';
import { useDispatch } from 'react-redux';
import { setUserName } from 'store/auth.slice';