wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
741 stars 719 forks source link

Improve reCAPTCHA implementation to support Google reCAPTCHA v3 #11576

Open janakamarasena opened 3 years ago

janakamarasena commented 3 years ago

Currently, Identity Server supports v2 of Google reCAPTCHA. Provide the support for Google reCAPTCHA v3.

ShanikaWickramasinghe commented 2 years ago

Verified Below Flows with Pack IS 6.0 RC - All the flows worked as expected without any issues. Please find the tested flows as below https://drive.google.com/file/d/1h3ynCA_1kLKPovRahbDtrtGvFYxXkbvs/view

Invisible Recaptcha with V2

Screenshot from 2022-08-06 17-11-23 Screenshot from 2022-08-06 18-13-06

Screenshot from 2022-08-06 16-41-57

https://user-images.githubusercontent.com/31848014/183248732-cd5fb516-434c-458c-a61c-54f51226fc26.mp4

Screenshot from 2022-08-06 16-56-33

Screenshot from 2022-08-06 17-56-53

Screenshot from 2022-08-06 18-00-02

Screenshot from 2022-08-06 18-00-09

Screenshot from 2022-08-06 18-10-31

Recaptcha V3

https://user-images.githubusercontent.com/31848014/183249582-e98eb511-51ec-4867-ab89-0b1b5ffa8e0c.mp4

Screenshot from 2022-08-06 18-22-09

Screenshot from 2022-08-06 18-22-16

Screenshot from 2022-08-06 18-22-03

Screenshot from 2022-08-06 18-24-07

Screenshot from 2022-08-06 18-24-49

hwupathum commented 1 year ago

There are multiple concerns when going forward with the implementation

[1] https://developers.google.com/recaptcha/docs/v3#interpreting_the_score [2] https://www.google.com/recaptcha/admin/