You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`OAUTH_LOGO` - (optional) URL to a button image from your SSO platform.
132
133
*`OAUTH_SCOPE` - (optional) comma-delimited Scope, if not the default (`email,profile,openid`)
133
134
*`OAUTH_USERINFO` - (optional) location of userinfo endpoint relative to the domain.
134
135
*`OAUTH_SKIP_LOGIN` - (optional) users should go directly to external login screen.
135
136
*`OAUTH_LINK_REGISTER` - (optional) a registration link to your SSO platform.
136
137
*`OAUTH_HELP_REGISTER` - (optional) a short text for the login page.
137
-
*`OAUTH_LOGO` - (optional) URL to a button from your SSO platform.
138
138
139
139
You may then wish to disable non-SSO logins using `DRIBDAT_ALLOW_LOGINS` (if an e-mail server is configured, they can still use that), and registrations with `DRIBDAT_NOT_REGISTER`
140
140
@@ -144,15 +144,18 @@ You can find more advice in the [Troubleshooting](trouble#need-help-setting-up-s
144
144
145
145
## Spam shield
146
146
147
-
To try to reduce spam issues on your Dribdat instance, we encourage you to use an OAuth provider (as above) with competency in this area. Basic form validation using [Google Recaptcha](https://developers.google.com/recaptcha) and compatible providers like [Friendly Captcha](https://developer.friendlycaptcha.com/docs/v2/guides/migrating-from-recaptcha), is available:
147
+
To try to reduce spam issues on your Dribdat instance, we encourage you to use an OAuth provider (as above) with competency in this area. Basic form validation using [Google Recaptcha](https://developers.google.com/recaptcha) and compatible providers like [Friendly Captcha](https://developer.friendlycaptcha.com/docs/v2/guides/migrating-from-recaptcha) or [HCaptcha](https://www.hcaptcha.com/), is available:
148
148
149
149
*`RECAPTCHA_PUBLIC_KEY` - A public key.
150
150
*`RECAPTCHA_PRIVATE_KEY` - A private key.
151
-
*`RECAPTCHA_API_SERVER` - (optional) Specify your Recaptcha API server.
152
-
*`RECAPTCHA_PARAMETERS` - (optional) A dict of JavaScript (api.js) parameters.
153
-
*`RECAPTCHA_DATA_ATTRS` - (optional) A dict of [data attributes](https://developers.google.com/recaptcha/docs/display#javascript_resource_apijs_parameters).
154
-
*`RECAPTCHA_VERIFY_SERVER` - (optional) The remote API of your alternative Captcha service.
151
+
*`RECAPTCHA_PARAMETERS` - (optional) A dict of configuration parameters.
152
+
*`RECAPTCHA_HTML` - (optional) Override default HTML template.
153
+
*`RECAPTCHA_DATA_ATTRS` - (optional) A dict of [data attributes](https://developers.google.com/recaptcha/docs/display#javascript_resource_apijs_parameters) for Recaptcha using-a-proxy-server.
155
154
*`RECAPTCHA_SCRIPT` - (optional) The script that is used by your alternative Captcha service.
155
+
*`RECAPTCHA_DIV_CLASS` - (optional) Override the default class of the captcha div in case an alternative captcha service is used. Default is `g-recaptcha`
156
+
*`RECAPTCHA_VERIFY_SERVER` - (optional) The remote API of your alternative Captcha service.
157
+
158
+
See the [Flask WTF docs](https://flask-wtf.readthedocs.io/en/1.2.x/config/#recaptcha) for further configuration settings.
0 commit comments