Sanity Library Reference Docs
    Preparing search index...

    Interface AuthProvider

    A provider of authentication.

    By default, a list of providers for a project will be fetched from the Sanity API, but you may choose to limit this list by explicitly defining the providers you want to allow, or add additional custom providers that conforms to the authentication provider specification outlined in the documentation.

    interface AuthProvider {
        logo?: string;
        name: string;
        title: string;
        url: string;
    }
    Index

    Properties

    Properties

    logo?: string

    URL for a logo to display next to the provider in the login screen

    name: string

    URL-friendly identifier/name for the provider, eg github

    title: string

    Human friendly title for the provider, eg GitHub

    url: string

    URL for the authentication endpoint that will trigger the authentication flow