[#7931] Invisible recaptcha conflicts with step by step registration

4 years 3 weeks ago #317733 by krileon

PS: the output of the users getting the problem was a page with url /profil/saveregisters with a js alert saying that the session had expired or the cookies were not activated on the browsers. Same thing with firefox, edge or chrome. Switching to internal spam mode solved it

This shouldn't be possible anymore unless their Joomla session expired. We don't use separate cookies or sessions anymore with CB. We just use Joomlas session now. I suppose it's possible they sat on the page so long their guest session expired then they submit the page and hit this issue.

Will review reCaptcha code next week as I don't have time to do so before the weekend and see if something is going wrong in the reCaptcha code. If the captcha fails it should just throw a normal registration validation error. It shouldn't be throwing a spoof check error.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

4 years 3 weeks ago #317777 by krileon
Was able to confirm issues with reCaptcha Invisible and reCaptcha v3. Both will require the form to be submit within 2 minutes of access it or they will fail. I'm rewriting their usage entirely to strictly only act on form submit behavior so this won't happen anymore. I don't see any issues with reCaptcha v2.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: activha

Please Log in to join the conversation.

4 years 3 weeks ago #317804 by activha
Did you also fix forge.joomlapolis.com/issues/7935 in latest build ?
Version: 4.0.0+build.2020.04.14.17.46.40.5b5df5cd4

Please Log in to join the conversation.

4 years 2 weeks ago #317811 by krileon
Yes, in latest CB AntiSpam build and in latest CB build released today this is now fixed. I've completely rewritten reCaptcha v3 and Invisible to be more reliable. I didn't find any issues with v2. v3 and Invisible will now properly only execute once the form has been submit and only if the form is valid this prevents that 2 minute timer from ticking down while still completing the form as Google expires the tokens after 2 minutes.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

4 years 2 weeks ago #317813 by activha
Wonderful, working great now with step by step, thanks a lot for your speed :-)
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.212 seconds

Facebook Twitter LinkedIn