OAuthSession works in development but in not on staging

Please provide the following:

  1. SDK Version: 37.0.0
  2. Platforms(Android/iOS/web/all): Android

I have implemented oauth2 style login with response_type=code using OAuthSession. It works in development, but not when I publish to the expo client with a staging configuration.

The oauth process starts fine, but after logging in, the return url returns “No project found at exp://exp.host/@myaccount/myproject?release-channel=staging%2F-%2Fexpo-auth-session.”

The project is in fact published there and would not have been able to start the login process if it wasn’t.

The return url that I’m executing on the server after successful login is:
https://auth.expo.io/@myproject/myproject?release-channel=staging&state=the-random_state-code-used-in-the-opening-call&code=xyz

Any suggestions?

Kind regards,
Marc

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.