The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Rails4G (19) [Avatar] Offline
#1
Using the courseware website Listing 7.4 - 7.6

Failed to load resource: the server responded with a status of 401 ()
XMLHttpRequest cannot load https://xxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/videos?encoding=720p. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8100' is therefore not allowed access. The response had HTTP status code 401.

After logging in same error. CORS was added to API. API test works in isolation, retrieves videos and shows header:

{"Access-Control-Allow-Origin":"*","X-Amzn-Trace-Id":"sampled=0;root=1-59282bfb-c63a1e0daea96cff388a1aa3"}

Any help appreciated!
Rails4G (19) [Avatar] Offline
#2
update - removing custom authorizer from GET fixes it
Not sure why, but I'll re-read that section.