Skip to content

Commit 4f70ebc

Browse files
daviddanialyclaude
andcommitted
feat: request spec-aligned scopes, learn resource-indicator support, and validate iss on remote login
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C555wgLmfbVWf4oxK7FvwB
1 parent 2d19fa6 commit 4f70ebc

49 files changed

Lines changed: 2217 additions & 278 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"server": minor
3+
---
4+
5+
Remote logins now request `openid`, `email`, `profile`, and `offline_access` whenever the upstream issuer advertises them, on top of the client's stored scope or the issuer's `scopes_supported`; operators can pin a verbatim request per issuer with the new `scope_override`. An issuer that rejects the RFC 8707 `resource` parameter with `invalid_target` is recorded as such (`resource_indicator_supported`) and the login is retried once without it, while the resource stays recorded on the grant. Issuers that advertise the RFC 9207 `iss` parameter have it validated on the callback, and the consent page offers a reconnect when a live grant lacks `openid` that a reconnect would now request.

.speakeasy/out.openapi.yaml

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dashboard/src/sdk/src/models/components/createissuerrequestbody.ts

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dashboard/src/sdk/src/models/components/createremotesessionissuerform.ts

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dashboard/src/sdk/src/models/components/remotesessionissuer.ts

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dashboard/src/sdk/src/models/components/remotesessionissuerdraft.ts

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dashboard/src/sdk/src/models/components/updateremotesessionissuerform.ts

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

overlays/goa-common.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,14 @@ actions:
220220
- target: $.components.schemas.RemoteSessionIssuerDraft.properties.claims_supported
221221
update:
222222
nullable: true
223+
# scope_override is an operator knob rather than a discovered capability,
224+
# but null ("unset") must stay distinct from [] on the wire the same way.
225+
- target: $.components.schemas.RemoteSessionIssuer.properties.scope_override
226+
update:
227+
nullable: true
228+
- target: $.components.schemas.RemoteSessionIssuerDraft.properties.scope_override
229+
update:
230+
nullable: true
223231
- target: $.components.schemas.InfoResponseBody.required
224232
remove: true
225233
- target: $.components.schemas.InfoResponseBody

0 commit comments

Comments
 (0)