MaikuB / flutter_appauth

A Flutter wrapper for AppAuth iOS and Android SDKs
269 stars 238 forks source link

Need to load custom policy (change password) with session information to skip login screen again. #428

Open mbhusari opened 1 year ago

mbhusari commented 1 year ago

I'm working with the flutter_appauth library and I'm trying to implement a custom policy using change password) with session information to skip the login screen again. Is there any method in this plugin that accepts session info (idToken or account info or Iaccount) and load custom policy directly without login, Any help would be greatly appreciated. Thank you!

davidebalistreri commented 1 year ago

Me too, I didn't find a way with this plugin, and I'm trying to switch to a webview based approach

mbhusari commented 1 year ago

@davidebalistreri Can you provide me with some details on what is this webview based approach is?

MaikuB commented 1 year ago

Not sure what you're referring to here exactly but it sounds like what you're after is outside the scope of the plugin and more on session management. If so, then that's up to your app to handle. Apps are responsible for checking that a valid access token exists, to refresh it, determine if the login screen should be shown again etc