CAPTCHA on self-hosted portal - CORS error (after following Wiki instructions)
See original GitHub issueBug description
Unable to sign in to a self-hosted portal with CAPTCHA enabled, even after following the wiki instructions
It is a CORS issue as described in #1054 (but occurs even with a custom domain on the managed portal).
Reproduction steps
As per the wiki instructions to enable CAPTCHA…
- Self-host the portal at
https://portal.example.com
- In Azure API Management, set up a custom domain for the managed portal at
https://api.example.com
- Publish the self-hosted portal with the following settings
"useHipCaptcha" : true
"backendUrl": "https://api.example.com"
- Visit the self-hosted portal at
https://portal.example.com
and try to sign up - A CORS error is returned when attempting to validate the CAPTCHA
Expected behavior
The user should be able to sign in
Is your portal managed or self-hosted?
Self-hosted
Release tag or commit SHA (if using self-hosted version)
da8ac015e8865c2fcc159cf1391b6386ad498b8c
Environment
- Operating system: Windows 10
- Browser: Edge (Chromium)
- Version: 89
Issue Analytics
- State:
- Created 2 years ago
- Comments:17 (3 by maintainers)
Top Results From Across the Web
CAPTCHA endpoint not generated during publish #491 - GitHub
According to the wiki instructions, if "useHipCaptcha" is set to true in the config files, this endpoint and a child index.html file should ......
Read more >Tutorial - Access and customize the developer portal
Follow this to tutorial to learn how to customize the API Management developer portal, an automatically generated, fully customizable ...
Read more >CORS Pre-flight error when contacting self-hosted WebApi ...
I got this error when the Web portal contacts an self-hosted WebAPI service located in other server than the Web portal server:.
Read more >Self hosted event manager issue (cors error) - Dynamics 365 ...
Hi,. We are trying to implement self hosted event manager. But after loading the angular website and configuring the environment file, we get...
Read more >Getting CORS errors when accessing Confluence resources
When accessing Confluence resources from another origin, the request is blocked and may result in a CORS error similar to the following:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
CORS settings UI and documentation out. Closing the issue.
@paburgos, this shouldn’t be the case. Please, make sure your published portal is up-to-date (i.e., republish it if you haven’t done so in the last few weeks). If the problem persists, please contact Azure support, unless you have precise reproduction steps - in which case we would appreciate a bug report in this repository.