-
Notifications
You must be signed in to change notification settings - Fork 38
OPTIONS on /auth returns with 401 #194
Comments
@ligthyear, sorry for getting to this after 10 days. My bad! The proxy will filter the requests from non Can we close this issue, if you find it working based on the suggestion? |
@krishnaIndia ah. that is good to know. Although, it does make local development much harder. While I suppose we could close this particular issue, I'd like to address how to make local development easy with it (maybe a switch in some extended settings? or a possibilities to configure it in a file?) |
@krishnaIndia I tried updating the ghost in the safe for the alpha test net and got it to be "kinda" working (find it at http://app.ghost.safenet/ ), but there seems to be an issue with the new API. Unfortunately debugging directly on-net is kinda hard (can't just make changes). Do we have any update re: How to do a local development/debugging setup with the new CSP rules? |
@ligthyear, you can use the If you are running, the binary then you can start in dev mode by passing the |
Hey,
as the author of ghost in the safe I was trying to update my code yesterday to work with the latest launchers and on the test network. Unfortunately it won't let me log in.
I've patched the internal safenet javascript wrapper I am using to point to the right URL (
api.safenet
rather thanlocalhost:8081
), however it appears that the internally usedfetch
-API's firstOPTIONS
request onto/auth
is denied and therefore everything dies:Even though this is a "secretive" endpoint, I'd expect to receive a proper information response upon querying it with
OPTIONS
(somethingfetch
internally always does and can't really prevented from doing, as it is required to work properly).I suspect this regression might have been introduced with the update to the new 0.5 API.
The text was updated successfully, but these errors were encountered: