How do I customise the login endpoint for our custom SSO in react auth0?

Let’s assume that our domain is “https://domain.com/” for SSO.

Whenever I use login with redirect using @auth0/auth0-react, the package always goes to this URL - “https://domain.com/authorize?

But for our custom SSO case, we need it to go to - “https://domain.com/as/authorization.oauth2?

How do I force this when I’m using Auth0Provider options?