AuthSession.revokeAsync() not working due to "Invariant Violation: Cannot invoke `performAsync()` without a valid revocationEndpoint]"

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): Android Pixel 3 Expo Go
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I can get Expo/Google log in to work using the docs here: Authentication - Expo Documentation

However, I’m not sure how to correctly log out. Simply deleting the token does not tell the API that the user has officially logged out. I know because when I try to log in again, I get an error.

I think this is the only relevant function (AuthSession.revokeAsync()):
AuthSession - Expo Documentation

However, when I run this code (say, from a Dashboard component’s Logout button):

          await AuthSession.revokeAsync(
            {
              token,
            },
            {}
          )

I get this error:

[Unhandled promise rejection: Invariant Violation: Cannot invoke performAsync() without a valid revocationEndpoint]

Since it’s in the error message, I think it has something to do with revocationEndpoint, but I’m not sure how to fix it: AuthSession - Expo Documentation

Any tips on how to fix this?