Skip to main content
Solved

FME Server: data upload through web application incl. authentication

  • April 18, 2018
  • 2 replies
  • 39 views

lazarlubomir
Contributor
Forum|alt.badge.img+10

Hello,

please, I created web application according to this manual: https://knowledge.safe.com/articles/583/data-upload-part-3-rest-api.html. Everything is ok, but I need to user to authenticate firstly before he can run the workspace. Is it possible? I dont want to user had to open FME Server web interface and authorize there, I can do it only on created web application.

Thank You so much for ideas!

Lubo

Best answer by gerhardatsafe

Hi @lazarlubomir

you can implement authentication for your data upload app with the FME Server Token Service. At the bottom this page you will also find a code snippet of an example using JS to retrieve a token using FME Server Token Service:

https://playground.fmeserver.com/getting-started/authentication

I hope this gets you started!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

Forum|alt.badge.img
  • 288 replies
  • Best Answer
  • April 18, 2018

Hi @lazarlubomir

you can implement authentication for your data upload app with the FME Server Token Service. At the bottom this page you will also find a code snippet of an example using JS to retrieve a token using FME Server Token Service:

https://playground.fmeserver.com/getting-started/authentication

I hope this gets you started!


lazarlubomir
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • 165 replies
  • April 18, 2018
@GerhardAtSafe

Thank You so much, it started me! :-)

Lubo