Remove useless code (#4416)
This commit is contained in:
9
web/service/sso.ts
Normal file
9
web/service/sso.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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')
|
||||
}
|
Reference in New Issue
Block a user