The domain part of the refirect_uri parameter is undefined, causing an error in the Auth flow. 