We have a device app using the Device Authentication OAuth flow towards Salesforce.
This flow returns an url (
https://domain/setup/connect) and a user code that the user has to enter into the page at this url, after which Salesforce returns an access token to the app.
If we use a community url as the domain in the first step of the Device Authentication flow, it returns a url that's specific for this community, f.i.
https://mysandboxdomain.cs85.force.com/communityname/setup/connect (A generic link would be
This page allows the user to enter said user code and then redirects to the community login where the user can login using username/password or social. This all works fine and gives the device app an access token through a
services/oauth2/token url it was polling after successful authentication.
Now my question is, can we brand or customize the
setup/connect page that redirects to our community? Even just adding a logo and changing some colors would help, but if Visualforce or Lightning can be used it would be great.
PS. There seems to be a difference (color mainly) between the community url and the generic test url, which make me suspect there must be something possible: