flutter_custom_tabs
                                
                                 flutter_custom_tabs copied to clipboard
                                
                                    flutter_custom_tabs copied to clipboard
                            
                            
                            
                        Need to use returned params when the tab is closed.
I have a login system on a web and im trying to use custom_tabs to login and to get the returned token to use it on the app. Is there any way to get this to work?
You should instead make use of this package: https://pub.dev/packages/flutter_web_auth
You can redirect to you auth page after successful login and on the page use redirection to custom schema with code and state.
On the redirection page something like this works:
window.onLoaded = function(){
window.location.replace('mycustomschema://auth/mobile?code=123&state=456'
}