HTTP Error 403 CORS origin denied getting access token

Follow the Form Code example I put in this reply.