mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Prompt to refresh account on error AADSTS700082 (#24423)
This commit is contained in:
@@ -310,6 +310,7 @@ export abstract class AzureAuth implements vscode.Disposable {
|
||||
|| error.errorMessage.includes(Constants.AADSTS50078)
|
||||
|| error.errorMessage.includes(Constants.AADSTS50085)
|
||||
|| error.errorMessage.includes(Constants.AADSTS50089)
|
||||
|| error.errorMessage.includes(Constants.AADSTS700082)
|
||||
|| error.errorMessage.includes(Constants.AADSTS700084);
|
||||
}
|
||||
|
||||
|
||||
@@ -112,6 +112,12 @@ export const AADSTS50085 = 'AADSTS50085';
|
||||
* or are revoked by the user or an admin. The app will request a new login from the user.
|
||||
*/
|
||||
export const AADSTS50089 = 'AADSTS50089';
|
||||
/**
|
||||
* ExpiredOrRevokedGrantInactiveToken - The refresh token has expired due to inactivity.
|
||||
* The token was issued on {issueDate} and was inactive for {time}. Expected part of the token lifecycle -
|
||||
* the user went an extended period of time without using the application, so the token was expired when the app attempted to refresh it.
|
||||
*/
|
||||
export const AADSTS700082 = 'AADSTS700082';
|
||||
/**
|
||||
* The refresh token was issued to a single page app (SPA), and therefore has a fixed, limited lifetime of {time}, which can't be extended.
|
||||
* It is now expired and a new sign in request must be sent by the SPA to the sign in page. The token was issued on {issueDate}.
|
||||
|
||||
Reference in New Issue
Block a user