mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 5d18ad4c5902e3bddbc9f78da82dfc2ac349e908 (#9683)
This commit is contained in:
@@ -341,7 +341,8 @@ export class AzureActiveDirectoryService {
|
||||
const query = parseQuery(uri);
|
||||
const code = query.code;
|
||||
|
||||
if (query.state !== state) {
|
||||
// Workaround double encoding issues of state in web
|
||||
if (query.state !== state && decodeURIComponent(query.state) !== state) {
|
||||
throw new Error('State does not match.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user