File size: 252 Bytes
27fd333
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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')
}