Jesse

Results 34 comments of Jesse

I believe your correct signalpoint I am unable to login with D8.2.3. I think it "may" have something to do with: https://www.drupal.org/node/2403307? I am unsure though. I cannot seem to...

Hmm I have the latest... I think it may have something to do with CORS. With the change of adding CORS config to a separate YAML file. I am having...

Well I found the: ``` /** * Pre process a rest call. * @param {XMLHttpRequest} xhr * @param {*} data */ function hook_rest_pre_process(xhr, data) { // Do stuff before the...

Figured it out. I had to add `drupal.modules['modulename'] = true;` to my user service and add the ``` modulename_res_pre_process(xhr) { xhr.withCredentials = true; } ``` Outside the service.

@jsheffers So the modulename_res_pre_process(xhr) function I placed in my user service file but outside the service. But you need to add the drupal.modules['modulename'] within your service. This is then added...

When calling jdrupal.userLogout(); I get a status code: 0 and no statusText. It doesn't look like jdrupal uses the logout_token (that is returned during the login request), does that matter...

If your getting 302 how does it pass the validation in logout? The code says 200 and 303. Doesn't seem to fix my issue but... Just curious.

I am still debugging.. I am still only getting a status code of 0 which doesn't help with anything... I am looking into this: http://stackoverflow.com/questions/16386148/why-browser-do-not-follow-redirects-using-xmlhttprequest-and-cors/20854800#20854800 which is just another CORS...

So that is what it was... With my dev setup where I am sharing creds on different domains ie localhost and example.com. I think it may be the same for...

Well I build apps often that go from subdomain and connect to the main domain. So I need to get a good grasp of overriding cors. ``` session.storage.options: ... cookie_domain:...