acdh-oeaw / dhcr-main

Digital Humanities Course Registry Application
https://dhcr.clarin-dariah.eu/
Apache License 2.0
3 stars 0 forks source link

Change Recapcha keys #29

Closed patrickakk closed 1 year ago

patrickakk commented 1 year ago

This is for Google Re captcha.

patrickakk commented 1 year ago

@vronk where can I get the keys?

vronk commented 1 year ago

@patrickakk is this connected to a google account? How does one get such a key?

patrickakk commented 1 year ago

@vronk https://developers.google.com/recaptcha/intro

To start using reCAPTCHA, you need to sign up for an API key pair for your site.

Yes, it looks like it's connected to a Google account.

and

First, choose the type of reCAPTCHA and then fill in authorized domains or package names. After you have accepted the terms of service, click Register to get new API key pair.

Currently the reCAPTCHA is used on our registration form, here: https://dhcr.clarin-dariah.eu/users/register

It looks like it's the following version: reCAPTCHA v2 (Invisible reCAPTCHA badge)

and

maybe the url's for the test and dev instance could also be added, so that it also works there?

vronk commented 1 year ago

@dpancic, could you, please, generate reCAPTCHA key under acdh-google account for dhcr?

patrickakk commented 1 year ago

keys are available

patrickakk commented 1 year ago

second key is missing. waiting for answer

patrickakk commented 1 year ago

Moved to Mai milestone, to give a realistic estimation of implementation.

patrickakk commented 1 year ago

@IvdL22 @PixlTracer

The new Google Recapcha keys are implemented. You can check this by visiting the registration form in the test instance (it didn't work before there): https://test-dhcr.clarin-dariah.eu/users/register

Or checking the same page in production and see that it still works ;) https://dhcr.clarin-dariah.eu/users/register

In the bottom right corner, you can see: image

Can you review this and change the label to Done?

IvdL22 commented 1 year ago

@patrickakk I Checked, all good! Many thanks!

patrickakk commented 1 year ago

Implemented immediately. Noticed in release notes of 2023-05.