-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for google recaptcha #1845
Add support for google recaptcha #1845
Conversation
Looks good to me |
d5d5d3a
to
807537f
Compare
This is required because we wait to notify of an error. https://github.com/auth0/lock/blob/a79d7b7061fd78314630808d6b53b7bc21840370/src/core/actions.js#L189
807537f
to
b856b9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial pass looks good. Reached out on Slack to ask about:
- Testing - how can I test this?
- Do we need to capture anything additional for the developer on the Readme as to how they use it?
Also I recommend accepting the outstanding suggestion about which removes .only
from describe
.
Co-Authored-By: Drew Fyock <[email protected]>
a7f3ef0
to
d9c2c38
Compare
d9c2c38
to
eefffbb
Compare
Is this a new feature? I guess if it is, it supersedes things like https://community.auth0.com/t/auth0-login-with-googles-recaptcha-v3/18168/3 ? Would love to see some public documentation on it! (how to use it, what plans it's included in, etc) |
@karlhorky This is for an Early Access (EA) feature that has a necessary server-side component. EA features are not guaranteed to ever reach General Availability (GA), but are instead intended to gather feedback on a potential feature. If this feature reaches GA, there will be a release announcement along with corresponding documentation. |
Ah ok, thanks for the background! Is there anywhere we can sign up for Early Access features? Is it the same as Zero To Launch? |
@karlhorky If you reach out to your support representative, they should be able to tell you more about the program and if you qualify. Feel free to include a link to this PR for added context. |
Ah, support representative... hm, not sure if I have one of those. I'll open a support inquiry. |
* initial support for google recaptcha * Add tests for Google Recaptcha * Add unit tests for recaptcha * Fix recaptcha property * Remove console.logs * Reduce timeout in test to minimum. This is required because we wait to notify of an error. https://github.com/auth0/lock/blob/a79d7b7061fd78314630808d6b53b7bc21840370/src/core/actions.js#L189 * Simplify return * Remove .only Co-Authored-By: Drew Fyock <[email protected]> * Update provider name to match change in backend Co-authored-by: José F. Romaniello <[email protected]> Co-authored-by: Steve Hobbs <[email protected]> Co-authored-by: Drew Fyock <[email protected]>
* initial support for google recaptcha * Add tests for Google Recaptcha * Add unit tests for recaptcha * Fix recaptcha property * Remove console.logs * Reduce timeout in test to minimum. This is required because we wait to notify of an error. https://github.com/auth0/lock/blob/a79d7b7061fd78314630808d6b53b7bc21840370/src/core/actions.js#L189 * Simplify return * Remove .only Co-Authored-By: Drew Fyock <[email protected]> * Update provider name to match change in backend Co-authored-by: José F. Romaniello <[email protected]> Co-authored-by: Steve Hobbs <[email protected]> Co-authored-by: Drew Fyock <[email protected]>
Changes
This adds support for Google ReCaptchaV2. There are necessary Auth0 internal changes for this to work as well.
References
https://auth0team.atlassian.net/browse/CAUTH-399
Testing
Reach out to me via Slack.
Checklist