Question

Hi! Have anybody succeeded in connecting the Mapillary API v4 with FME workbench? I get stuck on an internal server error when i use https://localhost/ as redirect URL in the OAuth 2.0 webservice authentification.

  • 10 September 2021
  • 5 replies
  • 9 views

Badge +1
Hi! Have anybody succeeded in connecting the Mapillary API v4 with FME workbench? I get stuck on an internal server error when i use https://localhost/ as redirect URL in the OAuth 2.0 webservice authentification.

5 replies

Userlevel 1
Badge +11

Hi @henrikstagnell​, have you already had a look at this article on Web Connections and FME? There's a section that describes OAuth 2.0 connections that might be helpful to configuring your own connection

Badge +8

Hi @henrikstagnell​ as @jovitaatsafe​ mentioned. The article is a good starting point.

For most cases, leaving the default Redirect URI values works for FME Desktop ("urn:ietf:wg:oauth:2.0:oob").

Or else you can try using 'http://localhost' as well, if HTTPS is required, please ensure that the certificate is present on the FME Desktop machine.

Have you configured the app correctly on the Mapillary API?

I would advise adding all the variations of redirect URI in the application(Mapillary.com).

FYI - The OAuth2.0 template is configured to have a Refresh token workflow.

Badge +8

Hi @henrikstagnell​ 

I have done a quick test, I am not familiar with the API myself but I was able to try it using the instructions.

After creating the OAuth2.0 services following the developer API documentation, I was able to set up a web service and able to generate a token see a short demo here https://www.screencast.com/t/jYEfY5e6Fcvn

Here is the configuration and URL that I used for this test.Mapillary_Oauth 

Badge +1

I am having an error when clicking at authorize.

Can anyone help me out, where I am making a mistake?? I am trying to fetch Traffic Signal features...!

 Thanks.

 

Mapillary Error

I am having an error when clicking at authorize.

Can anyone help me out, where I am making a mistake?? I am trying to fetch Traffic Signal features...!

 Thanks.

 

Mapillary Error

I managed to make this work by adding Authorization under HTTP Header for Retrieve Token Parameters:

image.pngimage

Reply