Skip to content

Commit cad5786

Browse files
Release v9.24.1 (#1391)
1 parent 74bf482 commit cad5786

27 files changed

+64
-41
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v9.24.0
1+
v9.24.1

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## [v9.24.1](https://github.com/auth0/auth0.js/tree/v9.24.1) (2024-01-04)
4+
[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.24.0...v9.24.1)
5+
6+
**Changed**
7+
- [IAMRISK-3011] Auth0 V2 Captcha failOpen support [\#1382](https://github.com/auth0/auth0.js/pull/1382) ([alexkoumarianos-okta](https://github.com/alexkoumarianos-okta))
8+
39
## [v9.24.0](https://github.com/auth0/auth0.js/tree/v9.24.0) (2023-12-13)
410
[Full Changelog](https://github.com/auth0/auth0.js/compare/v9.23.3...v9.24.0)
511

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ From CDN:
2323

2424
```html
2525
<!-- Latest patch release -->
26-
<script src="https://cdn.auth0.com/js/auth0/9.24.0/auth0.min.js"></script>
26+
<script src="https://cdn.auth0.com/js/auth0/9.24.1/auth0.min.js"></script>
2727
```
2828

2929
From [npm](https://npmjs.org):

dist/auth0.js

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* auth0-js v9.24.0
2+
* auth0-js v9.24.1
33
* Author: Auth0
4-
* Date: 2023-12-13
4+
* Date: 2024-01-04
55
* License: MIT
66
*/
77

@@ -4929,7 +4929,7 @@
49294929
decode: decode$1
49304930
};
49314931

4932-
var version = { raw: '9.24.0' };
4932+
var version = { raw: '9.24.1' };
49334933

49344934
var toString = Object.prototype.toString;
49354935

@@ -7763,7 +7763,10 @@
77637763
opts.clientSubdomain,
77647764
opts.siteKey
77657765
);
7766-
if (opts.provider === ARKOSE_PROVIDER) {
7766+
if (
7767+
opts.provider === ARKOSE_PROVIDER ||
7768+
opts.provider === AUTH0_V2_CAPTCHA_PROVIDER
7769+
) {
77677770
var retryCount = 0;
77687771
attributes['data-callback'] = callbackName;
77697772
attributes['onerror'] = function () {
@@ -7774,7 +7777,7 @@
77747777
return;
77757778
}
77767779
removeScript(scriptSrc);
7777-
// Optimzation to tell auth0 to fail open if Arkose is configured to fail open
7780+
// Optimzation to tell auth0 to fail open if Arkose/auth0_v2 is configured to fail open
77787781
setValue('BYPASS_CAPTCHA');
77797782
};
77807783
window[callbackName] = function (arkose) {
@@ -7901,9 +7904,23 @@
79017904
},
79027905
sitekey: challenge.siteKey
79037906
};
7907+
79047908
if (challenge.provider === AUTH0_V2_CAPTCHA_PROVIDER) {
7909+
retryCount = 0;
79057910
renderParams.language = options.lang;
79067911
renderParams.theme = 'light';
7912+
renderParams.retry = 'never';
7913+
renderParams['response-field'] = false;
7914+
renderParams['error-callback'] = function () {
7915+
if (retryCount < MAX_RETRY) {
7916+
setValue();
7917+
globalForCaptchaProvider(challenge.provider).reset(widgetId);
7918+
retryCount++;
7919+
} else {
7920+
setValue('BYPASS_CAPTCHA');
7921+
}
7922+
return true;
7923+
};
79077924
}
79087925
widgetId = global.render(captchaDiv, renderParams);
79097926
element.setAttribute('data-wid', widgetId);

dist/auth0.min.esm.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/auth0.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cordova-auth0-plugin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* auth0-js v9.24.0
2+
* auth0-js v9.24.1
33
* Author: Auth0
4-
* Date: 2023-12-13
4+
* Date: 2024-01-04
55
* License: MIT
66
*/
77

@@ -11,7 +11,7 @@
1111
(global = global || self, global.CordovaAuth0Plugin = factory());
1212
}(this, (function () { 'use strict';
1313

14-
var version = { raw: '9.24.0' };
14+
var version = { raw: '9.24.1' };
1515

1616
var toString = Object.prototype.toString;
1717

dist/cordova-auth0-plugin.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)