iOS - Webview Find Courses is not refreshing expired tokens on enroll

Description

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.
https://github.com/edx/edx-app-ios/blob/master/Source/OEXNetworkManager.h#L25
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.

Quick fix:
The enrollment button for find courses webview should be using the new network manager.

Partial bandage:
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.

Steps to Reproduce

None

Reason for Variance

None

Release Notes

None

Customer Problem Statement

None

Status

Assignee

Saeed Bashir

Reporter

Christopher Lee

Labels

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Sub-Team(s)

None

Reach

None

Impact

None

Open edX Discourse Thread

None

Story Points

2

Components

Sprint

None

Priority

CAT-1
Configure