mirror of
https://github.com/langgenius/dify.git
synced 2025-07-15 05:04:52 +00:00
10 lines
252 B
TypeScript
10 lines
252 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')
|
||
|
}
|