Skip to content

Restrict OAuth grant flows by client capability - #1743

Merged
StuartFerguson merged 13 commits into
mainfrom
task/#1720_oauth_flow_changes
Oct 6, 2026
Merged

StuartFerguson merged 13 commits into
mainfrom
task/#1720_oauth_flow_changes

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Summary

  • Restrict default OAuth flows to authorization code with PKCE, client credentials, and refresh tokens.
  • Gate password, implicit, and hybrid flows behind explicit client-scoped configuration.
  • Disable device authorization and remove device-code handler routing.
  • Persist OpenIddict grant permissions and PKCE requirements for new clients.
  • Reconcile existing applications at startup and keep the management bootstrap client client-credentials-only.
  • Update integration-test legacy fixtures and add rollout documentation.

Verification

  • Focused policy tests: 4 passed.
  • Client registration tests: 6 passed.
  • Integration projects build successfully.
  • Full unit suite: 118 passed; 2 existing certificate-loader tests require unavailable PFX files in the environment.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T09:51:33.091530Z 8ad6c01 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codacy-production

codacy-production Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 19 complexity · 0 duplication

Metric Results
Complexity 19
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8ad6c01494

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@StuartFerguson StuartFerguson linked an issue Oct 6, 2026 that may be closed by this pull request
@StuartFerguson
StuartFerguson merged commit d405ea1 into main Oct 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restrict OAuth grant types to approved client capabilities

1 participant