skillhub/web/public
XiaoSeS 5800d4ddbb docs(auth): document the provider adapter contract and Feishu operator setup
AGENTS.md and CONTRIBUTING.md both require docs updates when auth flows or
deployment config change; this batch changed both and touched no docs.

03-authentication-design.md described adding a provider as "branch on
registrationId inside CustomOAuth2UserService", which the
ProviderOAuth2UserService strategy supersedes. Rewrites that recipe:
register an OAuthClaimsExtractor bean per provider, add a
ProviderOAuth2UserService only when the userinfo response is non-standard,
and note that the login page needs no code change. Also records the
provider-side obligations that are easy to get wrong -- stable subject with
no fallback, emailVerified only on proven ownership, bounded remote calls,
no subject in logs -- and un-comments the config example, which still
listed GitLab as a future possibility.

faq.md told operators to delete "the github and gitlab blocks" to hide SSO
buttons. That advice was already incomplete and gets worse per provider, so
it now explains the config-driven mechanism: an empty client id keeps the
entry off the login page, no file edit needed.

09-deployment.md listed only the GitHub credentials. Adds GitLab and Feishu,
and flags a deployment trap: Feishu emails are admin-imported so
emailVerified is always false, and skillhub.access-policy.mode=EMAIL_DOMAIN
denies every unverified email, which would reject all Feishu logins.

Squares the Feishu logo viewBox. It was 407.87x324.19 while login-button
renders it in a square w-5 h-5 box, so the mark was distorted.

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
2026-09-21 10:18:37 +08:00
..
fonts fix(web): self-host Inter and JetBrains Mono fonts (#753) 2026-08-25 13:49:08 +08:00
favicon.svg feat(web): add SkillHub logo as browser favicon 2026-03-14 11:45:55 +08:00
feishu-logo.svg docs(auth): document the provider adapter contract and Feishu operator setup 2026-09-21 10:18:37 +08:00
github-logo.svg feat(auth): add GitLab OAuth2 provider support (#264) 2026-04-17 19:56:32 +08:00
gitlab-logo.svg feat(auth): add GitLab OAuth2 provider support (#264) 2026-04-17 19:56:32 +08:00
oidc-logo.svg fix(web) 添加oidc的logo文件,配置oidc登录后图裂无logo太丑了 (#734) 2026-08-26 19:45:08 +08:00
robots.txt chore(web): remove doc injection and add crawler metadata (#102) 2026-03-19 15:33:06 +08:00
runtime-config.js fix(web): stabilize auth shell startup flow 2026-03-15 15:36:30 +08:00
sitemap.xml chore(web): remove doc injection and add crawler metadata (#102) 2026-03-19 15:33:06 +08:00