mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 18:14:53 +02:00
add resource whitelist auth method
This commit is contained in:
parent
998fab6d0a
commit
207a7b8a39
20 changed files with 970 additions and 739 deletions
|
@ -24,6 +24,7 @@ export type GetResourceAuthInfoResponse = {
|
|||
sso: boolean;
|
||||
blockAccess: boolean;
|
||||
url: string;
|
||||
whitelist: boolean;
|
||||
};
|
||||
|
||||
export async function getResourceAuthInfo(
|
||||
|
@ -79,6 +80,7 @@ export async function getResourceAuthInfo(
|
|||
sso: resource.sso,
|
||||
blockAccess: resource.blockAccess,
|
||||
url,
|
||||
whitelist: resource.emailWhitelistEnabled
|
||||
},
|
||||
success: true,
|
||||
error: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue