I have a simple login working. Now, I want to customize the Universal Login UI. For example, change to username-password login, disable sign up, disable forgot password, etc. and return scopes containing user role info after login.
The interface detail for Auth0ClientOptions says:
If you need to send custom parameters to the Authorization Server, make sure to use the original parameter name.
I tried the following, but didn’t work:
createAuth0Client({
domain: '',
client_id: '',
redirect_uri: '',
audience: '',
autofocus: true,
usernameStyle: 'username',
requires_username: true,
allowSignUp: false,
rememberLastLogin: false,
allowForgotPassword: false,
sso: false
})
Is this possible or will I have to revert to auth0-js and auth-lock libraries? Is there a way to use Lock and auth0-spa-js together?
If someone can provide some guidance, useful code, or a basic example, that’ll be most appreciated.
Thank you