Refactor OAuth implementation so the flow logic and state machine are usable by server-side proxy services, not just client-side browser flows. The SDK's OAuth implementation is designed for local ...