Why does "appAuthRedirectScheme" as manifest placeholder has no effect?

1,890

I think, you using return url wrong, send something like "my.example.redirect:/callback" because scheme is before path, like scheme http, or https.

hopefully it will help.

Share:
1,890
LeptonByte
Author by

LeptonByte

Just a random guy who loves coding

Updated on December 22, 2022

Comments

  • LeptonByte
    LeptonByte over 1 year

    I'm trying to build a simple single sign-on example with flutter. Therefore I need to redirect the user after authenticating at the identity provider back to my app. I use the Flutter AppAuth Plugin to do so. But even when I follow the "Getting Started" section, it does not work. I've added

    manifestPlaceholders = [
      'appAuthRedirectScheme': 'my.example.redirect'
    ]
    

    to my grade file, but the open by default page of the app doesn't show anything:

    enter image description here

    And when I enter a URL like "my.example.redirect/test" to chrome, it doesn't open the app.

    So does anyone have an idea, what I made wrong here?