Skip to main content
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.

  • September 10, 2021
  • 5 replies
  • 63 views

henrikstagnell
Forum|alt.badge.img+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

jovitaatsafe
Safer
Forum|alt.badge.img+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


rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • September 14, 2021

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.


rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • September 15, 2021

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 

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


malikfadi
Participant
Forum|alt.badge.img+2
  • Participant
  • November 25, 2021

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


  • October 26, 2022
malikfadi wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings