# App does not open Okta login page while Making login request form Xamarin forms app

**URL:** <https://devforum.okta.com/t/app-does-not-open-okta-login-page-while-making-login-request-form-xamarin-forms-app/4735>\
**Category:** Questions\
**Created:** [April 5, 2019, 6:09am UTC](https://devforum.okta.com/t/app-does-not-open-okta-login-page-while-making-login-request-form-xamarin-forms-app/4735 "2019-04-05T06:09:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vpachori](https://avatars.discourse-cdn.com/v4/letter/v/b5a626/32.png) [@vpachori](https://devforum.okta.com/u/vpachori)\
**Post date:** [April 5, 2019, 6:09am UTC](https://devforum.okta.com/t/app-does-not-open-okta-login-page-while-making-login-request-form-xamarin-forms-app/4735/1 "2019-04-05T06:09:27Z")

</div>

I have created a Xamarin forms App integrated okta login with the following guide

> **[oktadeveloper/okta-appauth-xamarin-example](https://github.com/oktadeveloper/okta-appauth-xamarin-example)**
>
> Xamarin.Forms authentication with OpenID Connect and Okta - oktadeveloper/okta-appauth-xamarin-example

The problem I am facing is First time when I made login request it redirects to the okta login page but the second time it does not redirect to okta login page it fetches from the browser caches (that’s what I think).  
Is there any way that when we are making Authorisation Request to okta login it always ask for Username and password?  
I tried to setPrompt to login in Android it works but in iOS it is not working  
Kindly let me know as soon as possible.  
Thanks

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 17, 2024, 11:18pm UTC](https://devforum.okta.com/t/app-does-not-open-okta-login-page-while-making-login-request-form-xamarin-forms-app/4735/2 "2024-01-17T23:18:44Z")

</div>


