CORS error with SPA + Rest API (Auth Code Flow)

This thread is continued here: