Single Page Application OAuth v2 proxy