Whitelisting localhost in CORS domains

New post

Comments

3 comments

  • cbetta

    This is not a CORS issue but a redirect issue. On the same page in the app configuration is a setting to configure your redirect URI.

     

    Screenshot 2019-05-13 at 11.22.47.png

    0
    Comment actions Permalink
  • naumanzchaudhry

    Thanks for replying back.
    I have already setup a redirect uri here (which is for my real app - https://someapp.io) hence it's working fine.

    I will rephrase my question. Actually I want it to work for both

    What should my configuration look like. As you pointed out to to fill in redirect uri field. I have already done that. It contains https://someapp.io. This redirect uri field is required & doesn't accept multiple urls. 


    Nauman.


    0
    Comment actions Permalink
  • cbetta

     sure, I get what you mean, thank you for clarifying. We currently only support one redirect URI per app. We recommend setting up 2 apps, and use different credentials for the different environments. You can then set up a different redirect URI per environment.

    0
    Comment actions Permalink

Please sign in to leave a comment.