IdentityServer4.Admin icon indicating copy to clipboard operation
IdentityServer4.Admin copied to clipboard

How to redirect back to cordova app

Open dewebeloper opened this issue 4 years ago • 2 comments

Question

How can I redirect back to cordova app? I'm following an article Securing Cordova App.

I was managed to redirect to login page, enter credentials and login user. All that was fine and after login IDS4 redirect me to Redirect page. There is signin-redirect.js and I can see RedirectUrl is /connect/authorize/callback?client_id=MyClientId&redirect_uri=myredirecturi://&response_type=code&scope=openid profile email roles offline_access public blue_bid_api&nonce=8125c4d2000b41aa17aaee073b06886468Z9J2ZCq&state=37bd7fc7a735d03d00ec0fea27febb5a4ahKeeaCm&code_challenge=DT28IaK4JNXpEILx36jLzMnEqBFDEozi7mOe66Er0xw&code_challenge_method=S256

But problem is, I'm stuck on this page. There is no redirection to my Cordova app? I tested my custom url schema on way that I create href=myredirecturi:// on some html page and that link open my app. Confusing thing is that same href doesn't work from that Redirection page where I'm stuck. Is there anything else that I can do with this issue?

dewebeloper avatar Jan 25 '22 09:01 dewebeloper

@dewebeloper Are you able to resolve this issue ?

Faisal-developer avatar Aug 15 '22 12:08 Faisal-developer

@Faisal-developer No, I did not. I switch to other library where I was able to solve this issue.

dewebeloper avatar Oct 27 '22 14:10 dewebeloper