Hello All, I have another question about the Oauth. @skaos : are you able to implement the Oauth client on your webix apps?
Because I need to make my apps like skaos mention above. But I still didn’t get how to implement it. My main concern is : how do we attach the access_token for every request to server? Mostly is when implement the datatable dynamic. Can you please give us the exact example (@maksim) ?
Hi @maksim, you are so nice.
Actually I have problem when try to edit my header.
When I add a header like you told, the method of the request becomes “OPTIONS” (should be “GET”) and it caused error because I don’t have such method router on my server.
It works the same. Webix Jet allows to organize views, but it doesn’t change the core function of Webix. You can define the custom onBeforeAjax handler in the app.js
webix.attachEvent("onBeforeAjax", handler);
It is not recommended to define this handler from the view, as the handler is a global one, and defining it for one view can cause some problems for other ajax consumers.