OryNodeSsoButtonProps
type OryNodeSsoButtonProps = {
attributes: UiNodeInputAttributes
buttonProps: OryNodeButtonButtonProps
isLastUsed?: boolean
isSubmitting: boolean
node: UiNodeInput
provider: string
}
Props for the OryNodeSsoButton component.
Properties
attributes
attributes: UiNodeInputAttributes
Deprecated
Use node.attributes instead.
buttonProps
buttonProps: OryNodeButtonButtonProps
isLastUsed?
optional isLastUsed: boolean;
Whether the user chose this provider last time on this device. Ory Elements records the choice when the browser leaves for the
provider, so it doesn't tell whether that sign-in succeeded. Only true in login flows when show_last_used_method is on in the
project configuration. Custom components may ignore it.
isSubmitting
isSubmitting: boolean
node
node: UiNodeInput
provider
provider: string