When token is supplied get the redirect url