Authentication required to GET data in browser
Bug #1624010 reported by
Ekaterina Khomyakova
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Fuel 9.1 #266
Steps to reproduce:
1. Go to Fuel UI, log in
2. Try to get something via api, e.g. /api/clusters
Expected results:
Return list of clusters
Actual result:
'Authentication required'
To post a comment you must log in.
Possibility to pass tokens in cookie was removed as a part of a security bug fix, so accessing API directly from browser is no longer available. As an alternative I can suggest using browser console on Fuel UI and executing of the following code:
$.ajax( '/api/clusters' , {headers: {'X-Auth-Token': app.keystoneCli ent.token} })