Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XMLHttpRequest cannot load https://api.stormpath.com/v1/tenants/current. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 401.
- axios({
- method: 'get',
- url: "https://api.stormpath.com/v1/tenants/current",
- auth:
- {
- username: 'api ID',
- password: 'api Secret'
- }
- })
- code:401
- developerMessage:"Authentication with a valid API Key is required."
- message:"Authentication required."
- moreInfo:"http://www.stormpath.com/docs/quickstart/connect"
- requestId:"3686f590-d69e-11e6-9b8a-22000a8ce5d1"
- status:401
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement