SoftInstigate / restheart

Rapid API Development with MongoDB
https://restheart.org
GNU Affero General Public License v3.0
805 stars 171 forks source link

Auth-Token not present in the Get method response header #368

Closed shireefadel closed 4 years ago

shireefadel commented 4 years ago

The Get method is not exposing the Auth-Token while using CORS

I have an angular 8 application, while creating a get request .. the response not containing the Auth-Token ... but i's exists if I make the request using any testing tool

by the way it was working with restheart 3

ujibang commented 4 years ago

Cannot reproduce. Suspect a misconfiguration, checking with @shireefadel

shireefadel commented 4 years ago

can you please reproduce it with a simple angular 8 client

ujibang commented 4 years ago

it is more a question on how to get the response header with angular and not an issue with restheart, the Auth-Token is correctly returned