engineyard / engineyard/ey_services_api

"Authentication failure: no authorization header" when using EY ApiHMAC to connect

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Description

In the tutorial (https://github.com/engineyard/chronatog#verifying-requests-from-engine-yard), you mention using the ApiHmac for connecting to your EngineYard service.

class Engineyard::CustomersController < ApplicationController

```
use EY::ApiHMAC::ApiAuth::LookupServer do |env, auth_id|
api_creds = YAML::load(File.open("#{RAILS_ROOT}/config/engineyard.yml"))

(api_creds["auth_id"]== auth_id) && api_creds["auth_key"]
end
.....
```

I keep getting "Authentication failure: no authorization header" when I access my URL directly in my browser though. Is this normal ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.