We are developing multi-tenant application. To open login page we use method WebAuth.authorize
Initialization looks like this:
provider = new WebAuth({
clientID: ‘some client id’,
domain: ‘example.eu.auth0.com’,
audience: ‘https://audience.com’,
redirectUri: ‘https://redirecturi.com/callback’,
responseType: ‘token id_token’,
scope: ‘openid’
});
then for moving to sign up page we use this
this.provider.authorize({
login_hint: connectionName,
display: ‘signUp’
});
after calling this method we are redirected to sign up page as expected. but after click “sign up with google” social button on auth0 signup page you are redirected to google and display parameter (which was used to determine signup page ) is also passed to google in query parameters. as a result we get error on google page: Invalid parameter value for display: ‘signUp’ is not valid.
i’ve tried to use mode and initialScreen paramters instead of display. but they do not work and user is redirected to signIn screen