Fix: Revise Authentication Methods & Add Edge-Case Handling for Auth

This commit is contained in:
Youwes09
2026-04-02 22:27:39 -05:00
parent 51bb6cdab9
commit 15adb02be3
7 changed files with 444 additions and 121 deletions
+17
View File
@@ -888,3 +888,20 @@ export const LOGOUT_TRACKER = `
}
}
`;
export const LOGIN_USER = `
mutation Login($username: String!, $password: String!) {
login(input: { username: $username, password: $password }) {
accessToken
refreshToken
}
}
`;
export const REFRESH_TOKEN = `
mutation RefreshToken {
refreshToken {
accessToken
}
}
`;