what is the route the google app market will use to redirect the user to arrive and be logged in ?

Google app market docs describe that domain name will be passed with but, using the omniauth-google-apps gem I cannot find the entry point that is supposed to receive such information. (users keep being presented with the "enter domain name" form before being redirected to google for auth, then back to the app, logged in).