Redirect Uri when Registering App

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
AnthonyErp
2 Posts
User

2Posts

0Kudos

0Solutions

Solved: Go to Solution

Redirect Uri when Registering App

Hi,

 

I am writing a Python web application which will run locally (on localhost:5000) but needs to access the AccountRight cloud API.

 

What Redirect Uri should I use in that case when registering the app?

 

Thanks,

 

Anthony

3 REPLIES 3
Hannah_B
MYOB Moderator
142 Posts
MYOB Moderator
Australia
MYOB Moderator

142Posts

33Kudos

25Solutions

Accepted Solution Solved

Re: Redirect Uri when Registering App

Hi Anthony (@AnthonyErp)

 

Thank you for reaching out,  The redirect URI is the location where the authorization server sends the user once the app has been successfully authorized. For example, I use the app Insomnia and have the redirect URI or https://insomnia.rest or when using the Postman app I have set this up to be  https://www.getpostman.com/oauth2/callback. 

 

I hope this helps. 

 

Many Thanks,


Thanks,
@Hannah_B


MYOB API Specialist


MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's



Did my answer help?


Mark it as a Solution

AnthonyErp
2 Posts
User

2Posts

0Kudos

0Solutions

Re: Redirect Uri when Registering App

Hi Hannah,

 

Thank you for taking the time to reply.

 

Am I right in assuming that if my application is running on localhost:5000 then the redirect_uri should also be localhost:5000?

 

Thanks,

 

Anthony

Hannah_B
MYOB Moderator
142 Posts
MYOB Moderator
Australia
MYOB Moderator

142Posts

33Kudos

25Solutions

Re: Redirect Uri when Registering App

Hi Anthony @AnthonyErp 

 

Thank you for the update, If you are building a desktop or mobile app and don't have a web service, then use http://desktop as the URI. 

 

Many Thanks,


Thanks,
@Hannah_B


MYOB API Specialist


MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's



Did my answer help?


Mark it as a Solution

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post