fix(OAuth): client identity matching (#421)

This commit is contained in:
Patrick Kan
2023-06-29 03:26:33 +08:00
committed by GitHub
parent 89548ad48a
commit 07c1b3e0e5
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ export const OAUTH = Object.freeze({
}),
REGEX: Object.freeze({
AUTH_SCRIPT: /<script id="base-js" src="(.*?)" nonce=".*?"><\/script>/,
CLIENT_IDENTITY: /.+?={};var .+?={clientId:"(?<client_id>.+?)",.+?:"(?<client_secret>.+?)"},/
CLIENT_IDENTITY: /var .+?={clientId:"(?<client_id>.+?)",.+?:"(?<client_secret>.+?)".+?}/
})
});
export const CLIENTS = Object.freeze({