mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-02 11:18:19 +08:00
14 lines
375 B
TypeScript
14 lines
375 B
TypeScript
import { get } from './base'
|
|
|
|
export const getUserSAMLSSOUrl = () => {
|
|
return get<{ url: string }>('/enterprise/sso/saml/login')
|
|
}
|
|
|
|
export const getUserOIDCSSOUrl = () => {
|
|
return get<{ url: string; state: string }>('/enterprise/sso/oidc/login')
|
|
}
|
|
|
|
export const getUserOAuth2SSOUrl = () => {
|
|
return get<{ url: string; state: string }>('/enterprise/sso/oauth2/login')
|
|
}
|