Repository navigation
feat(portal): add PoW CAPTCHA support for self-hosted portals - #2922
Merged
Alexander Zaslonov (azaslonov) merged 5 commits intoOct 13, 2026
Merged
Alexander Zaslonov (azaslonov) merged 5 commits into
Alexander Zaslonov (azaslonov) merged 5 commits into
Conversation
Port the managed portal ALTCHA integration so self-hosted portals can handle powEnabled settings and submit PoW challenges for user flows. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Tuan Nguyen (atuannguyen1101)
approved these changes
Oct 13, 2026
Direct self-hosted portal customers to PoW-capable versions before the legacy HIP service is disabled. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Direct self-hosted portal customers to release 2.35.0 instead of the implementation pull request. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Set the self-hosted portal migration deadline to November 20, 2026. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Explain that API Management is moving from retiring HIP to its managed proof-of-work CAPTCHA solution. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Alexander Zaslonov (azaslonov)
requested a review
from Tuan Nguyen (atuannguyen1101)
October 13, 2026 03:38
Tuan Nguyen (atuannguyen1101)
approved these changes
Oct 13, 2026
Alexander Zaslonov (azaslonov)
merged commit Oct 13, 2026
e3bef43
into
Azure:master
7 of 8 checks passed
Alexander Zaslonov (azaslonov)
deleted the
alzaslon/hip-to-pow-captcha
branch
October 13, 2026 03:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The APIM backend can enable proof-of-work CAPTCHA through
powEnabled, but the public self-hosted developer portal does not recognize that setting. When HIP CAPTCHA is disabled, affected sign-up, reset-password, and change-password flows cannot initialize a CAPTCHA challenge.Solution
/v2/captcha-challengewhenpowEnabledis set.powChallengefor sign-up, reset-password, and change-password requests.skipCaptchabehavior.Validation
npm run build-runtimenpm test(185 tests passed)git diff --check