Localhost redirect uri not working

Welcome! Forums Unity Plugins In-App Web Browser Localhost redirect uri not working

  • This topic has 4 replies, 2 voices, and was last updated 1 year ago by PiotrPiotr.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2326
    chris_lmis
    Participant

    So currently i am trying to get a OAuth authorization to work. The first step is to login with user credentials in the web browser. This step works perfectly fine. After pressing the login button the browser should be redirected to http://localhost:55356/&code=…. . Obviously the localhost website does not exist but i want to get redirected there anyway so i can read out the url and use it in my code. The problem is that the InApp Webbrowser does not open the localhost url. The browser just stays at the Login page. Is it possible that the InApp browser only opens valid urls?

    #2328
    chris_lmis
    Participant

    Or is the problem that the redirect uri is http and not https?

    #2330
    PiotrPiotr
    Keymaster

    Any errors in the logs? It’s hard to guess whats going on without looking at code / logs 🙂

    #2338
    chris_lmis
    Participant

    Somehow i cant post my code here. Would it be possible to send it to you by mail?

    #2342
    PiotrPiotr
    Keymaster

    Sure but I recommend checking error logs. There is also error callback you can listen. All is explained in docs.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.