Auth0 Universal Components
GitHub
Auth0
Preparing search index...
core/src
createSsoProviderSchema
Function createSsoProviderSchema
createSsoProviderSchema
(
options
?:
SsoProviderSchema
,
)
:
ZodObject
<
{
strategy
:
ZodEnum
<
[
IdpStrategy
,
...
IdpStrategy
[]
]
>
}
&
{
display_name
:
ZodString
;
name
:
ZodString
;
}
,
"strip"
,
ZodTypeAny
,
{
display_name
:
string
;
name
:
string
;
strategy
:
IdpStrategy
}
,
{
display_name
:
string
;
name
:
string
;
strategy
:
IdpStrategy
}
,
>
Creates a complete schema for SSO provider form validation that combines all three steps
Parameters
options
:
SsoProviderSchema
= {}
Returns
ZodObject
<
{
strategy
:
ZodEnum
<
[
IdpStrategy
,
...
IdpStrategy
[]
]
>
}
&
{
display_name
:
ZodString
;
name
:
ZodString
;
}
,
"strip"
,
ZodTypeAny
,
{
display_name
:
string
;
name
:
string
;
strategy
:
IdpStrategy
}
,
{
display_name
:
string
;
name
:
string
;
strategy
:
IdpStrategy
}
,
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
Auth0
Auth0 Universal Components
Loading...
Creates a complete schema for SSO provider form validation that combines all three steps