auth0-lock 11.33.2 → 11.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +2 -0
- package/.github/ISSUE_TEMPLATE/report_a_bug.md +3 -1
- package/CHANGELOG.md +12 -0
- package/Makefile +22 -0
- package/README.md +6 -4
- package/lib/connection/enterprise/quick_auth_screen.js +1 -1
- package/lib/connection/enterprise.js +2 -1
- package/lib/core/web_api/helper.js +1 -1
- package/lib/core.js +1 -1
- package/lib/i18n/af.js +1 -0
- package/lib/i18n/ar.js +1 -0
- package/lib/i18n/az.js +1 -0
- package/lib/i18n/bg.js +1 -0
- package/lib/i18n/ca.js +1 -0
- package/lib/i18n/cs.js +1 -0
- package/lib/i18n/da.js +1 -0
- package/lib/i18n/de.js +1 -0
- package/lib/i18n/el.js +1 -0
- package/lib/i18n/en.js +1 -0
- package/lib/i18n/es.js +1 -0
- package/lib/i18n/et.js +1 -0
- package/lib/i18n/fa.js +1 -0
- package/lib/i18n/fi.js +1 -0
- package/lib/i18n/fr.js +1 -0
- package/lib/i18n/he.js +1 -0
- package/lib/i18n/hr.js +1 -0
- package/lib/i18n/hu.js +1 -0
- package/lib/i18n/id.js +1 -0
- package/lib/i18n/it.js +1 -0
- package/lib/i18n/ja.js +1 -0
- package/lib/i18n/ko.js +1 -0
- package/lib/i18n/lt.js +1 -0
- package/lib/i18n/lv.js +1 -0
- package/lib/i18n/ms.js +1 -0
- package/lib/i18n/nb.js +1 -0
- package/lib/i18n/nl.js +1 -0
- package/lib/i18n/nn.js +1 -0
- package/lib/i18n/no.js +1 -0
- package/lib/i18n/pl.js +1 -0
- package/lib/i18n/pt-br.js +1 -0
- package/lib/i18n/pt.js +1 -0
- package/lib/i18n/ro.js +1 -0
- package/lib/i18n/ru.js +1 -0
- package/lib/i18n/sk.js +1 -0
- package/lib/i18n/sl.js +1 -0
- package/lib/i18n/sr.js +1 -0
- package/lib/i18n/sv.js +1 -0
- package/lib/i18n/tr.js +1 -0
- package/lib/i18n/ua.js +1 -0
- package/lib/i18n/uk.js +1 -0
- package/lib/i18n/vi.js +1 -0
- package/lib/i18n/zh-tw.js +1 -0
- package/lib/i18n/zh.js +1 -0
- package/lib/i18n.js +1 -1
- package/lib/lock.js +1 -1
- package/lib/passwordless.js +1 -1
- package/package.json +2 -2
package/.circleci/config.yml
CHANGED
|
@@ -14,6 +14,8 @@ Thank you in advance for helping us to improve this library! Please read through
|
|
|
14
14
|
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct (https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
|
|
15
15
|
-->
|
|
16
16
|
|
|
17
|
+
:warning: **Note:** We are no longer supporting requests for new features. Only requests for bug fixes or security patches will be considered.
|
|
18
|
+
|
|
17
19
|
### Describe the problem
|
|
18
20
|
|
|
19
21
|
<!--
|
|
@@ -52,4 +54,4 @@ By submitting an Issue to this repository, you agree to the terms within the Aut
|
|
|
52
54
|
- **Version of this library used:**
|
|
53
55
|
- **Which framework are you using, if applicable:**
|
|
54
56
|
- **Other modules/plugins/libraries that might be involved:**
|
|
55
|
-
- **Any other relevant information you think would be useful:**
|
|
57
|
+
- **Any other relevant information you think would be useful:**
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v11.34.0](https://github.com/auth0/lock/tree/v11.34.0) (2022-09-14)
|
|
4
|
+
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.3...v11.34.0)
|
|
5
|
+
|
|
6
|
+
**Added**
|
|
7
|
+
- FDR-297: Adding okta for enterprise [\#2172](https://github.com/auth0/lock/pull/2172) ([jamescgarrett](https://github.com/jamescgarrett))
|
|
8
|
+
|
|
9
|
+
## [v11.33.3](https://github.com/auth0/lock/tree/v11.33.3) (2022-08-16)
|
|
10
|
+
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.2...v11.33.3)
|
|
11
|
+
|
|
12
|
+
**Added**
|
|
13
|
+
- IAMRISK-1725 Add password_leaked error label for Signup [\#2160](https://github.com/auth0/lock/pull/2160) ([robinbijlani](https://github.com/robinbijlani))
|
|
14
|
+
|
|
3
15
|
## [v11.33.2](https://github.com/auth0/lock/tree/v11.33.2) (2022-06-29)
|
|
4
16
|
[Full Changelog](https://github.com/auth0/lock/compare/v11.33.1...v11.33.2)
|
|
5
17
|
|
package/Makefile
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env make
|
|
2
|
+
|
|
3
|
+
#SHELL := /bin/bash
|
|
4
|
+
#.SHELLFLAGS = -ec
|
|
5
|
+
|
|
6
|
+
.PHONY: install lint test build cdn-publish
|
|
7
|
+
|
|
8
|
+
install:
|
|
9
|
+
@echo "Running install..."
|
|
10
|
+
yarn install
|
|
11
|
+
|
|
12
|
+
test:
|
|
13
|
+
@echo "Running test..."
|
|
14
|
+
yarn test
|
|
15
|
+
|
|
16
|
+
build:
|
|
17
|
+
@echo "Running build..."
|
|
18
|
+
rm -f build/*.js && yarn dist build
|
|
19
|
+
|
|
20
|
+
publish:
|
|
21
|
+
@echo "Running cdn-publish..."
|
|
22
|
+
npm run publish:cdn
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ From CDN
|
|
|
25
25
|
|
|
26
26
|
```html
|
|
27
27
|
<!-- Latest patch release (recommended for production) -->
|
|
28
|
-
<script src="https://cdn.auth0.com/js/lock/11.
|
|
28
|
+
<script src="https://cdn.auth0.com/js/lock/11.34.0/lock.min.js"></script>
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
From [npm](https://npmjs.org)
|
|
@@ -453,7 +453,7 @@ new Auth0Lock('client ID', 'domain', {
|
|
|
453
453
|
- **languageBaseUrl {String}**: Overrides the language source URL for Auth0's provided translations. By default it uses to Auth0's CDN URL `https://cdn.auth0.com`.
|
|
454
454
|
- **hashCleanup {Boolean}**: When enabled, it will remove the hash part of the callback URL after the user authentication. Defaults to `true`.
|
|
455
455
|
- **connectionResolver {Function}**: When in use, provides an extensibility point to make it possible to choose which connection to use based on the username information. Has `username`, `context`, and `callback` as parameters. The callback expects an object like: `{type: 'database', name: 'connection name'}`. **This only works for database connections.** Keep in mind that this resolver will run in the form's `onSubmit` event, so keep it simple and fast. **This is a beta feature. If you find a bug, please open a GitHub [issue](https://github.com/auth0/lock/issues/new).**
|
|
456
|
-
- **legacySameSiteCookie**: If `false`, no compatibility cookies will be created for those browsers that do not understand the `SameSite` attribute. Defaults to `true
|
|
456
|
+
- **legacySameSiteCookie**: If `false`, no compatibility cookies will be created for those browsers that do not understand the `SameSite` attribute. Defaults to `true`. **Note**: this setting only has an effect when running on an HTTPS domain; if HTTP is used, no legacy cookies are created regardless of this setting.
|
|
457
457
|
|
|
458
458
|
```js
|
|
459
459
|
var options = {
|
|
@@ -490,7 +490,7 @@ Extra input fields can be added to the sign up screen with the `additionalSignUp
|
|
|
490
490
|
|
|
491
491
|
Additional sign up fields are rendered below the default fields in the order they are provided.
|
|
492
492
|
|
|
493
|
-
:warning: **Note**: From `11.
|
|
493
|
+
:warning: **Note**: From `11.34.0` onwards, all HTML tags are stripped from user input into custom signup fields.
|
|
494
494
|
|
|
495
495
|
##### Text field
|
|
496
496
|
|
|
@@ -685,7 +685,9 @@ We ensure browser compatibility in Chrome, Safari, Firefox and IE >= 10. We curr
|
|
|
685
685
|
|
|
686
686
|
## Issue Reporting
|
|
687
687
|
|
|
688
|
-
If you have found a bug
|
|
688
|
+
If you have found a bug, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.
|
|
689
|
+
|
|
690
|
+
:warning: **Note:** We are no longer supporting requests for new features. Only requests for bug fixes or security patches will be considered.
|
|
689
691
|
|
|
690
692
|
## Author
|
|
691
693
|
|
|
@@ -38,7 +38,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
38
38
|
|
|
39
39
|
// TODO: handle this from CSS
|
|
40
40
|
function icon(strategy) {
|
|
41
|
-
if (strategy === 'google-apps') return strategy;
|
|
41
|
+
if (strategy === 'google-apps' || strategy === 'okta') return strategy;
|
|
42
42
|
if (~['adfs', 'office365', 'waad'].indexOf(strategy)) return 'windows';
|
|
43
43
|
return 'auth0';
|
|
44
44
|
}
|