mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fixes SCIM
This commit is contained in:
parent
2c3c0290f8
commit
d3e2949e7c
1 changed files with 9 additions and 9 deletions
|
@ -9,7 +9,7 @@ import {
|
||||||
Callout,
|
Callout,
|
||||||
TextInput,
|
TextInput,
|
||||||
} from "@tremor/react";
|
} from "@tremor/react";
|
||||||
import { Button, message, Form } from "antd";
|
import { message, Form } from "antd";
|
||||||
import { keyCreateCall } from "./networking";
|
import { keyCreateCall } from "./networking";
|
||||||
import { CopyToClipboard } from "react-copy-to-clipboard";
|
import { CopyToClipboard } from "react-copy-to-clipboard";
|
||||||
|
|
||||||
|
@ -73,9 +73,9 @@ const SCIMConfig: React.FC<SCIMConfigProps> = ({ accessToken, userID, baseUrl })
|
||||||
text={scimBaseUrl}
|
text={scimBaseUrl}
|
||||||
onCopy={() => message.success("URL copied to clipboard")}
|
onCopy={() => message.success("URL copied to clipboard")}
|
||||||
>
|
>
|
||||||
<Button type="primary" className="ml-2">
|
<TremorButton variant="primary" className="ml-2">
|
||||||
Copy
|
Copy
|
||||||
</Button>
|
</TremorButton>
|
||||||
</CopyToClipboard>
|
</CopyToClipboard>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -99,13 +99,13 @@ const SCIMConfig: React.FC<SCIMConfigProps> = ({ accessToken, userID, baseUrl })
|
||||||
<TextInput placeholder="SCIM Access Token" />
|
<TextInput placeholder="SCIM Access Token" />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item>
|
<Form.Item>
|
||||||
<Button
|
<TremorButton
|
||||||
type="primary"
|
variant="primary"
|
||||||
htmlType="submit"
|
type="submit"
|
||||||
loading={isCreatingToken}
|
loading={isCreatingToken}
|
||||||
>
|
>
|
||||||
Create SCIM Token
|
Create SCIM Token
|
||||||
</Button>
|
</TremorButton>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Form>
|
</Form>
|
||||||
</>
|
</>
|
||||||
|
@ -126,9 +126,9 @@ const SCIMConfig: React.FC<SCIMConfigProps> = ({ accessToken, userID, baseUrl })
|
||||||
text={tokenData.token}
|
text={tokenData.token}
|
||||||
onCopy={() => message.success("Token copied to clipboard")}
|
onCopy={() => message.success("Token copied to clipboard")}
|
||||||
>
|
>
|
||||||
<Button type="primary">
|
<TremorButton variant="primary">
|
||||||
Copy
|
Copy
|
||||||
</Button>
|
</TremorButton>
|
||||||
</CopyToClipboard>
|
</CopyToClipboard>
|
||||||
</div>
|
</div>
|
||||||
<TremorButton
|
<TremorButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue