yaiam: web sign-in (Web) and admin API reads (Admin)
Web signs the users of a web application in with the code flow and PKCE: state, nonce and verifier in a short-lived __Host- cookie, the ID token checked per OIDC Core 3.1.3.7, profile, groups and roles from UserInfo, and the RP-initiated logout URL. Admin reads users, groups and group members from yaiam's admin API with a client credentials token. Toolchain go1.27.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4bff8798e5
commit
a3e8f9bb3b
10 files changed
+1183
-16
No files matched your search
@@ -7,10 +7,14 @@
|
||||
|
||||
## Open
|
||||
|
||||
- [ ] **yaiam: web sign-in.** A helper for web UIs (authorization code
|
||||
+ PKCE, session handling) once yasta's web UI binds to yaiam -- it
|
||||
needs ID-token checks, so either a dependency (zitadel/oidc, go-jose)
|
||||
or it stays in the program; decide with yasta.
|
||||
- [x] **yaiam: web sign-in** (owner decision 2026-11-17): `Web`, stdlib
|
||||
only -- the ID token checked by its claims as it comes from the token
|
||||
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.
|
||||
- [ ] **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.
|
||||
|
||||
- [ ] **yamcp search on Cloud.** yamcp's `jira_search_issues` still
|
||||
uses `SearchPage` (classic `POST /rest/api/3/search`), which Atlassian
|
||||
|
||||
Reference in new issue
Block a user