Auth0 Home Blog Docs

AuthorizeUrl parameters java basic quickstart



Hi all
I’m using an implementation of the basic java quickstart using an authorizeurl.

    String authorizeUrl = authenticationController.buildAuthorizeUrl(req, redirectUri)
    		.withAudience(String.format("https://%s/userinfo", domain))
            .withParameter("scope", "openid profile email") 

How can I add custom a custom logo to the url?
I would assume something like: .withParameter(“theme”, “logo : ‘’”);
But this doesn’t work…
And in the same way, how can I turn off the sign-up section of the lock?

Thanks in advance



Adding a custom logo is something you should do when you initialise Lock. To do this, set the logo attribute as shown in this example.

In contrast, the purpose of the authorize URL is to initiate the authorization flow. You can find more details on this in the Authorization Request section of the OAuth 2.0 specification.

You can hide the sign-up section in Lock by simply setting allowSignup to false.