How to reproduce:
1. Log into iOS app pointing to prod (since it's the only place the drupal site is hooked up to)
2. Expire the token (need devops assistance)
3. Try to enroll in a course. Enrollment error appears.
Looks like the webview enrollment button is hooked up to the old networkmanager that does not do refreshes.
Since the tokens do not refresh, the user is put in a state where the access token is never refreshed. A user needs to logout/login. Other parts of the app will work normally.
The enrollment button for find courses webview should be using the new network manager.
The new network manager should pass the refreshed access token to the old network manager so the user doesn't have to log in and out, they would need to navigate to another screen.
Best fix (Bigger project):
Deprecate the old network manager, there are a few places that still uses this.