Hi All,
I open a tab in the browser for my oauth2 application as a landing page with:
after this the Oauth is handled and works well.
My Issue is when the OAUTH2 process is finished I can not close the TAB ("OAUTH LANDING PAGE")
The code I have tried is :
Can anyone help thanks.
I open a tab in the browser for my oauth2 application as a landing page with:
B4X:
ws.Eval("window.open(arguments[0],'OAUTH2');", Array As Object(TargetUrl,"myapp"))
ws.flush
after this the Oauth is handled and works well.
My Issue is when the OAUTH2 process is finished I can not close the TAB ("OAUTH LANDING PAGE")
The code I have tried is :
B4X:
ws.Eval("window.close();",Array As Object("myapp"))
Can anyone help thanks.
Last edited: