[英]OAuth 2 Close Tabs after Success Login
I'm facing problem when using OAuth 2 in my application, after a succefull login and redirection to my App ( browsable app ) i want to force closing tabs that i used in for login ( i'm using browser not webview ).我在我的应用程序中使用 OAuth 2 时遇到问题,在成功登录并重定向到我的应用程序(可浏览应用程序)后,我想强制关闭我用于登录的选项卡(我使用的浏览器不是 webview)。
Any solution that i can do to force closing this tabs?我可以采取任何解决方案来强制关闭此选项卡吗?
It is possible for a mobile app to invoke the external system browser, but not to close it afterwards.移动应用程序可以调用外部系统浏览器,但之后不会关闭它。 There is a preferred solution that usually meets the same goals though.不过,有一个首选解决方案通常可以满足相同的目标。
Use the AppAuth pattern, which works like this:使用 AppAuth 模式,其工作方式如下:
See this Curity code example for a visual walkthrough.请参阅此 Curity 代码示例以进行可视化演练。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.