feat(yaiam): web sign-in at any OIDC provider behind another name

Web.PublicIssuer sends the browser to the provider's endpoints on a
public origin while the server keeps Issuer (container networks); the
callback's iss may name either. Client.AllowInsecure accepts plain http
off loopback for test installations on a closed network. email_verified
counts only as the JSON boolean true; a string no longer fails the
sign-in. First consumer: yaemp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
terminarandClaude Opus 5.5 committed 2026-11-20 17:32:32 +01:00
1 parent 538a6c8ae6
commit 376ae3c970
8 files changed
+159 -17

No files matched your search

+5
View File
@@ -12,6 +12,11 @@
endpoint over TLS (OpenID Connect Core 3.1.3.7), profile and groups
from UserInfo; `Admin` for the admin API. The application keeps its
own session. yaiam's `examples/webapp` uses it; yasta and yaais can.
- [x] **yaiam: any OpenID Connect provider for a web sign-in**
(2026-11-20, first consumer yaemp, replacing go-oidc/oauth2):
`Web.PublicIssuer` (the browser reaches the provider under another
origin), `Client.AllowInsecure` (http off loopback, test installations
only), `email_verified` true only as JSON boolean.
- [ ] **yaiam: web refresh.** `Web` has no refresh for a confidential
client (Client.Refresh sends no secret); add when an application keeps
access tokens beyond the sign-in.