cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sancarn
New Member

Custom Connector to ArcGIS

Hello,

 

So I'm trying to make a custom connector to ArcGIS online. 

 

The REST API can be found here:

https://developers.arcgis.com/rest/users-groups-and-items/user-content.htm

Specifically Authentication (OAuth) here:

https://developers.arcgis.com/rest/users-groups-and-items/authentication.htm

 

However something is wrong with my connector and I'm not entirely sure what... See video, the client closes itself, and yet it says I'm closing the client while it's logging in...

https://youtu.be/A3vqybJjhg4

 

My swagger json can be found here:

https://gist.github.com/sancarn/af30125b7ed491adea200e0d74f34061

 

If anyone has any ideas why this might be happenning please let me know, otherwise I'm just going to recheck all creds and hope I find something...

 

4 REPLIES 4
v-alzhan-msft
Community Support
Community Support

Hi @sancarn ,

 

The error message told that you close the sign-in window before the sign-in is finished.

Have you take any try after the error?

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-alzhan-msft ,

 

In the video provided, you can see that I don't actually close the sign-in window. Something else does (maybe ArcGIS although I'm not sure?).

 

I have tried logging in on multiple occasions and it simply doesn't seem to work. Maybe I'd be better off re-implementing it in JS first because currently I don't even know how OAuth is meant to work, so I don't really know what I might be doing wrong...

Sorry... But this is not a solution??? Please unmark it as such.

Anonymous
Not applicable

@sancarn did you ever find a solution to this? I discovered that the token gets put in the Authorization header while the API requires the token in the "token" query parameter. I haven't figured out how to get that to pass through using PowerApps. 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,191)