Skip to main content
Question

Getting token for FME Cloud datadownload service

  • September 21, 2017
  • 6 replies
  • 33 views

johnglick
Contributor
Forum|alt.badge.img+7

hi, I'm attempting to set up this example using my fme cloud instance (to later modify) https://knowledge.safe.com/articles/1117/data-distribution-with-web-maps.html. I'm stuck at the part where it talks about the token.

  1. dataDist.init({
  2. server: "http://fmeserverurl",
  3. token: "a1b2c3d4e5f6a1b2c3d4e5f6" });

How do I generate the token in FME cloud?

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.

6 replies

ciarab
Contributor
Forum|alt.badge.img+9
  • Contributor
  • 167 replies
  • September 21, 2017
@johnglick

Just after the hostname type /fmerest/

eg http://myfmecloud.com/fmerest and you can click the Get Token button up in the corner. From here you can lookup the exisiting token or generate a new token with expiry limit


stewartatsafe
Safer
Forum|alt.badge.img+8
  • Safer
  • 99 replies
  • September 21, 2017
@johnglick

Just after the hostname type /fmerest/

eg http://myfmecloud.com/fmerest and you can click the Get Token button up in the corner. From here you can lookup the exisiting token or generate a new token with expiry limit

You can also manage your token from inside the normal FME Server web app. Once you have logged in, go to the user drop-down in the top right and select "Manage Token".

 

 


ciarab
Contributor
Forum|alt.badge.img+9
  • Contributor
  • 167 replies
  • September 21, 2017
@johnglick

Just after the hostname type /fmerest/

eg http://myfmecloud.com/fmerest and you can click the Get Token button up in the corner. From here you can lookup the exisiting token or generate a new token with expiry limit

Just watch out using token from here as I found it expires very frequently and then you need to replace it often.

 

 


Forum|alt.badge.img

Hi @johnglick,

an additional option to the ones suggested by @ciarab & @stewartharper is the FME Token Service:

https://docs.safe.com/fme/html/FME_Server_Documentation/Content/ReferenceManual/service_token.htm

This service allows you to request FME Server tokens, either via your browser or within an application via a POST request, sent to the token service, specifying the credentials and the desired token expiration time.


johnglick
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 33 replies
  • October 2, 2017

Hi @johnglick,

an additional option to the ones suggested by @ciarab & @stewartharper is the FME Token Service:

https://docs.safe.com/fme/html/FME_Server_Documentation/Content/ReferenceManual/service_token.htm

This service allows you to request FME Server tokens, either via your browser or within an application via a POST request, sent to the token service, specifying the credentials and the desired token expiration time.

Thanks! I needed to find out how to do it in my application, that's perfect.

johnglick
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 33 replies
  • October 2, 2017
@johnglick

Just after the hostname type /fmerest/

eg http://myfmecloud.com/fmerest and you can click the Get Token button up in the corner. From here you can lookup the exisiting token or generate a new token with expiry limit

 

good to know, thanks!