Mark Massoud

Results 43 comments of Mark Massoud

I just checked the corresponding docs: http://sailsjs.org/documentation/reference/blueprint-api/destroy It clearly states that the event triggered is `destroy`. Cheers!

Any progress on Facebook integration? I'd like to give a hand if possible

Almost got it working, but ran into CORS problems... Looks like since the frontend and backend are on different domains, the Facebook callback gets rejected for some reason. ` XMLHttpRequest...

I just tried that, setting it to 127.0.0.1 (I'm working locally), but the same problem persists... Noteworthy: Only getting this problem when accessing from the frontend (http://localhost:3001/auth/facebook) If accessing directly...

I had this issue too, which was indeed related to `sails-disk`. With `sails-mysql`, I confirm that there was no problem at all.

For completeness, here is what I have so far (although it's using `request` instead of `papi`, which I'll need to convert) ``` function generateJenkinsToken({ crumbRequestField, crumb, sessionId }, newTokenName, callback)...

Just something to keep in mind is that the credentials REST API changed from the plugins' v1 to v2. If can help if needed!

This should be added to the library! https://gist.github.com/jgimbel/6a36d60e28aaf453d0093ddc47f36533#gistcomment-2563894

Until this is officially supported, we have achieved the same by using the `wrap` hook, here's a great example from @gr2m: https://github.com/octokit/octokit.js/issues/1069#retry

Until this is officially supported, we have achieved the same by using the wrap hook, here's a great example from @gr2m: https://github.com/octokit/octokit.js/issues/1069#throttling