B4J Question Redirect Problem

behnam_tr

Active Member
Licensed User
Longtime User
Hello
I have a url that redirects to another address after loading(on normal browser like chrome,firefox,...) But it doesn't work in b4j
I tested it with Webview and it didn't work. It can't be redirected to the new address
Through the get method with okhttputils, I did not get the result either.

How can I solve this issue in b4j?
I want to have the final url after the redirect

final url like this ::
B4X:
https://account.irfarabi.com/web/login-password?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Dfarabixo-desktop%26redirect_uri%3Dhttps%253A%252F%252Ffarabixo.irfarabi.com%252Fauth%252Fcallback%26response_type%3Dcode%26scope%3Dime_api%2520proto_api%2520agent_api%2520sad_api%2520market_api%2520fund_api%2520tse_api%2520base_api%2520market_api%2520profile%2520srvdsk_api%2520tse_profile%2520openid%26state%3D061f714304194de09e7f90971b2d28a5%26code_challenge%3DoMCU6j9BeREnP6PUbHZs35DTzZU9V93JQm1NLKo4Tyk%26code_challenge_method%3DS256%26response_mode%3Dquery%26login_type%3Dpassword%26idp%3Dfarabixo&login_type=password&idp=farabixo

my url :
https://farabixo.irfarabi.com
 
Last edited:
Top