Add oauth origin for client config
This commit is contained in:
parent
2ffa095303
commit
5f712f87f3
@ -190,7 +190,7 @@ const PreviewDialog = ({
|
||||
|
||||
const getLink = () => {
|
||||
return `${
|
||||
window.location.origin
|
||||
window?.ClientConfig?.oauth2.origin
|
||||
}/oauth2/authorize?response_type=code&client_id=${client?.clientId}&redirect_uri=${
|
||||
client?.redirectUris[0]
|
||||
}&scope=${encodingScopes}&state=${state}${
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"date": "2024628_173723",
|
||||
"date": "2024628_183746",
|
||||
"checksums": {
|
||||
"api.js": "0efbae3383bf6c6b6f26d573eee164d2",
|
||||
"api.poly.js": "2a2ac2c0e4a7007b61d2d1ff7b00a22e",
|
||||
"browserDetector.js": "d9387cce805699498e798230a8639c8a",
|
||||
"config.json": "1cc6da8a9d43cda405c4f85b0e6039e4"
|
||||
"config.json": "47a314898c8968fab7565d975e0fb828"
|
||||
}
|
||||
}
|
@ -112,6 +112,9 @@ declare global {
|
||||
url?: string;
|
||||
};
|
||||
imageThumbnails?: boolean;
|
||||
oauth2: {
|
||||
origin: string;
|
||||
};
|
||||
editor?: {
|
||||
requestClose: boolean;
|
||||
};
|
||||
|
@ -19,7 +19,7 @@
|
||||
"checkDomain": false
|
||||
},
|
||||
"oauth2": {
|
||||
"publicClient": true
|
||||
"origin": "http://oauth.test.test"
|
||||
},
|
||||
"firebase": {
|
||||
"fetchTimeoutMillis": 3600000,
|
||||
|
Loading…
Reference in New Issue
Block a user