| Commit message (Collapse) | Author | Age | Lines | 
| | 
| 
|  | 
Closes #439
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Removes the window features from the OAuth window to make it open in a
new tab if the client prefers.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Allows the Discord OAuth button to be renabled in case the window is
closed prematurely.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
| 
| 
|  | 
This reverts commit 7e0d4a9f
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
|  | 
Co-authored-by: Joe Banks <[email protected]>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Extends username expiry to a very far date, to prevent it from expiring
on session.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Explicitly sets the path attribute of username and scope cookies, to
ensure they work correctly across page transitions, and to match the
actual authorization cookie.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
| 
| 
|  | 
Adds automatic token refresh, and removes manual setting of JWT.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
|   
  
  
  
  
  
  
   | 
Moves all authorization functionality to a new file, and adds a helper
to send discord OAuth code to the backend, and set JWT. Adds a library
to read and set cookies.
Signed-off-by: Hassan Abouelela <[email protected]>
 |