Skip to content
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

Implementation on Razor Pages #82

Closed
gokujax opened this issue Oct 21, 2020 · 1 comment
Closed

Implementation on Razor Pages #82

gokujax opened this issue Oct 21, 2020 · 1 comment

Comments

@gokujax
Copy link

gokujax commented Oct 21, 2020

How to implement the package on Razor Pages using localhost as "Site" of RecaptchaSettings?

@TimothyMeadows
Copy link
Owner

Google does not exactly support localhost, however you can add localhost (unadvised for security reasons) to your white list in your site keys domains list. Better yet if your testing you can use the official test keys from google.

Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe

These are designed for localhost use and do not require domain matching but does contain a red error message at all times about them being test keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants