Forum Discussion

AnthonyErp's avatar
5 years ago
Solved

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

Replies have been turned off for this discussion
  • AnthonyErp's avatar
    AnthonyErp
    Member
    5 years ago

    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

  • Han-Solo's avatar
    Han-Solo
    MYOB Staff
    5 years ago

    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,