Open tgerring opened 10 years ago
@tgerring We aren't using the same API for the main BitPremier website.
Because this is an open source app there are two options:
OAuth would be our preferred way of authenticating users, but we don't want to be overly cumbersome as to REQUIRE this if users just want to browse the listings.
What about keeping /category and /listing "open" for the foreseeable future (since this is public on your website anyway) and if users would like to bid, etc., we'd prompt them to do the OAuth dance?
@tgerring I'd like to avoid doing any sort of OAuth because the bid endpoint is suppose to be anonymous. I'll send you an email so we can chat a bit more about this offline.
Currently, the BitPremier API requires application-specific authorization keys. Because this is a JavaScript app that runs in a browser window of an open-source application, we cannot reliably hide the key.
@joshkehn if you were using the same API for the main BitPremier website, how would you secure the key from user snooping?