Trapping Redirect URLs

Welcome! Forums Unity Plugins In-App Web Browser Trapping Redirect URLs

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #954
    shane_c
    Participant

    I am implementing a Single Sign-On in Unity, and in the even that I get a redirect uri, I need to be able to handle it myself, rather than attempting to load the URL.
    For instance when I sign in, I will eventually be redirected here:
    com.myapp.vr://auth?code=aASf4G44r32DDss5Ffff-2234DgYYsx&state=mobilelogin

    Obviously this is not meant to be a real URL. I need to parse the code out of the URL and prevent it from loading.

    How is this possible with your plugin?

    #974
    PiotrPiotr
    Keymaster

    Hi,
    Did you checked readme file and “Browser Lifecycle Events”?
    I think you can capture it there, close a browser and treat user as a signed in.
    I believe people are already using this plugin for a SSO.

    Let me know if that helped, thanks.

    #1103
    Ivan
    Participant

    Did anyone solve this issue?

    #1104
    PiotrPiotr
    Keymaster

    What’s exactly your issue? What did you try? What is not working?

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