Open eugen0329 opened 7 years ago
@eugen0329 I can't replicate your problem and I have a similar setup - although, without devise.
Perhaps it has something to do with CORS? I have:
use Rack::Cors do
allow do
origins '*'
resource '*', headers: :any, methods: [:get, :post, :options, :put],
expose: ['access-token', 'expiry', 'token-type', 'uid', 'client']
end
end
Results to
Expected:
Response headers contain access-token
Actual result:
Response headers don't contain them.
Files
In my
Gemfile.lock
:Ruby version:
ruby 2.3.1p112