# "nonce option is required" on IE10

**URL:** <https://community.auth0.com/t/nonce-option-is-required-on-ie10/12637>\
**Category:** Get Help\
**Tags:** lock\
**Created:** [June 28, 2018, 12:58am UTC](https://community.auth0.com/t/nonce-option-is-required-on-ie10/12637 "2018-06-28T00:58:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![intergalena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/intergalena/32/10290_2.png) [@intergalena](https://community.auth0.com/u/intergalena)\
**Post date:** [June 28, 2018, 12:58am UTC](https://community.auth0.com/t/nonce-option-is-required-on-ie10/12637/1 "2018-06-28T00:58:07Z")

</div>

Hi everyone,

I’m getting the “nonce option is required” on IE10.

The packages I’m using are auth0.js v9.6.1 and auth0-lock v11.7.2.

Below is my code:

```
var options = {
    allowSignUp: false,
    audience: clientDomain+'/userinfo',
    allowShowPassword: true,
    auth: {
        params: {
            scope: 'openid'
        },
        redirectUrl: callbackUrl
    },
    closable: false,
    error: {
        login: {
            'lock.fallback': 'Wrong email or password',
            'lock.invalid_email_password': 'Wrong email or password'
        }
    }
};

var lock = new Auth0Lock(clientId, clientDomain, options);
var auth0 = new auth0.WebAuth({
    domain: clientDomain,
    clientID: clientId,
    redirectUri: callbackUrl,
    responseType: 'token'
});

auth0.checkSession({}, function(err, ssoData) {
    if (!err && ssoData) {
        auth0.authorize({
            scope: 'openid',
            responseType: 'code',
            redirectUri: callbackUrl
        });
    } else {
        lock.on('signin ready', function () {
            var link = $('<button class="auth0-lock-social-button auth0-lock-social-small-button" data-provider="windowslive" type="button">' +
                    '<div class="auth0-lock-social-button-icon"></div>' +
                    '<div class="auth0-lock-social-button-text">Log in with Internal Account</div>' +
                    '</button>');

            link.on('click', function () {
	        auth0.authorize({
	            connection: enterpriseConnection,
                    scope: 'openid',
                    responseType: 'code',
                    redirectUri: callbackUrl
                });
            });
            
            $('.auth0-lock-social-buttons-container').append(link);
            lock.show();
        });
    }
});

```

What’s happening now is that the getSSOData is being triggered in auth0-lock, and the checkSession method in there is using a predefined set of options where “token id\_token” is set as its response type. The condition that’s currently triggering the error message is:

` o.responseType.indexOf('code') === -1 && o.responseType.indexOf('id_token') !== -1`

Is there a way where I can get auth0 working for IE10?

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [June 29, 2018, 5:51pm UTC](https://community.auth0.com/t/nonce-option-is-required-on-ie10/12637/3 "2018-06-29T17:51:27Z")

</div>

👋 @intergalena I see there is a support ticket open and is currently being worked on to resolve the situationl but I am inputting the response here in case others come across this situation. There seems to be a case with IE 10 as it does not have a secure way to generate a cryptographically secure value to be used in the `nonce`. The feedback has been given to our Lock/Auth0.js team. Are there many users trying to use your application with IE 10? One way could be to detect the situation in the browser and redirect users to use a more secure browser.

---

<div class="post-metadata">

**Author:** ![intergalena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/intergalena/32/10290_2.png) [@intergalena](https://community.auth0.com/u/intergalena)\
**Post date:** [July 1, 2018, 9:30pm UTC](https://community.auth0.com/t/nonce-option-is-required-on-ie10/12637/4 "2018-07-01T21:30:17Z")

</div>

Hi @kimcodes, thanks for passing the feedback onto the Lock/Auth0.js team. Much appreciated. At this point in time, moving our users to use another browser is not an option. I’ll see what I can do on my end. Cheers!

---

<div class="post-metadata">

**Author:** ![johnarmstrong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johnarmstrong/32/8496_2.png) [@johnarmstrong](https://community.auth0.com/u/johnarmstrong)\
**Post date:** [August 23, 2018, 8:07pm UTC](https://community.auth0.com/t/nonce-option-is-required-on-ie10/12637/5 "2018-08-23T20:07:29Z")

</div>

Big issue for us now as well. Hoping a fix can be developed. Our users can’t upgrade either.

---

<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:** [September 22, 2018, 8:07pm UTC](https://community.auth0.com/t/nonce-option-is-required-on-ie10/12637/6 "2018-09-22T20:07:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
