unexpected-ivoryU
Refine3y ago
18 replies
unexpected-ivory

Unable to create login page following refine doc for Azure AD

I'm following Refine doc (Azure Active Directory B2C (AAD B2C))[https://refine.dev/docs/advanced-tutorials/auth/azure-ad/#installation]. Currently I got an error when creating the login.tsx. The error is

Expected 1-2 arguments, but got 0.ts(2554)
types.d.ts(23, 116): Arguments for the rest parameter 'args' were not provided.

and the offending line is login() below, copied from the docs:

        return (
            <Button type="primary" size="large" block onClick={() => login()}>
                Sign in
            </Button>
        );


Please help
Azure Active Directory B2C provides business-to-customer identity as a service. Your customers use their preferred social, enterprise, or local account identities to get single sign-on access to your applications and APIs.
Azure AD Login | refine
Was this page helpful?