Better error handling for oauth routes, different scopes