# Questions about Auth0.OidcClient

**URL:** <https://community.auth0.com/t/questions-about-auth0-oidcclient/7256>\
**Category:** Get Help\
**Tags:** auth0-configuration, auth0\
**Created:** [June 26, 2017, 4:14am UTC](https://community.auth0.com/t/questions-about-auth0-oidcclient/7256 "2017-06-26T04:14:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![graham1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@graham1](https://community.auth0.com/u/graham1)\
**Post date:** [June 26, 2017, 4:14am UTC](https://community.auth0.com/t/questions-about-auth0-oidcclient/7256/1 "2017-06-26T04:14:53Z")

</div>

Hi - I have a couple of questions about the Auth0 nuget package for WinForms.

1. Is it possible to make the authentication dialog modal?

2. Is it possible for the redirect url to be called from code rather  
than through a browser?

3. How can I stop logins with a particular provider from being  
remembered?

Thanks  
G

---

<div class="post-metadata">

**Author:** ![Santiago\_Rodriguez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/santiago_rodriguez/32/6466_2.png) [@Santiago\_Rodriguez](https://community.auth0.com/u/Santiago_Rodriguez)\
**Post date:** [June 27, 2017, 9:46pm UTC](https://community.auth0.com/t/questions-about-auth0-oidcclient/7256/2 "2017-06-27T21:46:39Z")

</div>

**1 - Is it possible to make the authentication dialog modal?**

Unfortunately not out of the box. However your are more than welcome to use the source code of [PlatformWebView.cs](https://github.com/auth0/auth0-oidc-client-net/blob/master/src/Auth0.OidcClient.WinForms/PlatformWebView.cs) and copy it to your project renaming it to something like `ModalPlatformWebView`. Then you can call the method `ShowDialog()` instead of `Show()` in the [line 101](https://github.com/auth0/auth0-oidc-client-net/blob/master/src/Auth0.OidcClient.WinForms/PlatformWebView.cs#L101).

An instance of this new ModalPlatformWebView should be passed in the Auth0ClientOptions:

```
var client = new Auth0Client(new Auth0ClientOptions
{
    Domain = "",
    ClientId = "",
    Browser = new ModalPlatformWebView()
});

```

**2 - Is it possible for the redirect url to be called from code rather than through a browser?**

These callbacks are HTTP 302 redirects defined in the OAuth2 specification. As a result the browser is required in order to perform the redirects.

**3 - How can I stop logins with a particular provider from being remembered?**

Currently this is not possible in Lock. The _remember me_ functionality is applied to all the available connections.

---

<div class="post-metadata">

**Author:** ![graham1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@graham1](https://community.auth0.com/u/graham1)\
**Post date:** [July 6, 2017, 3:48am UTC](https://community.auth0.com/t/questions-about-auth0-oidcclient/7256/3 "2017-07-06T03:48:32Z")

</div>

1. Thanks - This is very helpful 🙂
2. This makes sense - although this _could_ be performed by a browser that’s embedded in-app and then hidden from user view (It’d be a smoother experience, although I imagine providers like Google would frown upon it)
3. This is actually quite a blocker/pain point - Is there some sort of nonce mechanism that could be applied on the back-end to invalidate this setting?

Thanks  
G

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/questions-about-auth0-oidcclient/7256/4 "2018-03-02T05:54:57Z")

</div>


