@jan_blaha Yes, i followed the structure, and it helped a lot. But seeing all the information at a single standing confused me as a starter noob. So, it asks for the auth header which is the base64 encode of username and password authentication, which is really basic. With the firewall protection to the nodejs server, it is pretty secure. Thanks for the reply.
It is just a suggestion but adding a code example would help to rather figure out things and play out with codes; better than seeing a written instruction.
Posts made by Alex Rumba
-
RE: Authentication using nodejs server for jsreport
-
RE: Authentication using nodejs server for jsreport
@jan_blaha I have read the https://jsreport.net/learn/authentication but couldn't understand how we could implement it, so was hoping to have a nodejs examples along with the guide.
I will have custom authentication to the url that i am using. And, just close the port to public that gives access to public templates. Thanks for the reply
-
RE: Authentication using nodejs server for jsreport
@bjrmatos , i have already done the CRUD with http request. However, i would like to authenticate the calls to jsreport API, right now the odata templates are all public. Do we have something in jsreport with which we can authenticate the calls or do we need to make our own authentication for the calls.
-
RE: Authentication using nodejs server for jsreport
Hi, thanks for connecting on short notice. I would like to authenticate calls to jsreport, probably to post, get and edit odata templates in jsreport. Thanks :)
-
Authentication using nodejs server for jsreport
Hi, Can a git-repo of using nodejs-server for secure call to jsreport odata templates be uploaded. I wanted to figure out using Official example but i couldn't. It says to send the header to jsreport API but how do we get the authenticated header from our server using jsreport authentication api. An example in nodejs as well would be a lot helpful.
As far as i can understand, I have to create an express app which has token based authorization. With that token i have to authenticate jsreport. Which url of jsreport do i hit with that token to get the token from the jsreport which will then be used to access the jsreport templates.
-
RE: Jsreport Delete odata Templates
How do i rep you? Thanks for your support.
-
RE: Jsreport Delete odata Templates
@jan_blaha thanks for the response. Is there an api to get the id as of right now? If so, that would be perfect, however i can extract the values from the json and get the id. Thank you once again for the quick response.
-
Jsreport Delete odata Templates
Is there a method like get and post in jsreport api (http://localhost:8001/odata/templates) to delete the template such as Method: delete and the url is basically http://localhost:8001/odata/templates?shortid=rkCkPmWX-