Skip to content

fix(auth): allow expanding OAuth2 token sections in inherited auth view - #9523

Merged
sachin-thakur-bruno merged 2 commits into
usebruno:mainfrom
pooja-bruno:ix/inherited-oauth2-token-expand
Oct 13, 2026
Merged

sachin-thakur-bruno merged 2 commits into
usebruno:mainfrom
pooja-bruno:ix/inherited-oauth2-token-expand

Conversation

@pooja-bruno

@pooja-bruno pooja-bruno commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Description

In the inherited auth view, the Access Token, Refresh Token and ID Token sections of the OAuth2 token viewer can now be expanded.

Problem

.inherited-auth-fields sets pointer-events: none so that inherited auth is read-only. The token sections sit inside that container, so clicking them did nothing and the fetched token could not be viewed from a request that inherits OAuth2.

Fix

Renamed .auth-advanced-toggle to .auth-section-toggle and added it to the token section header. The inherited auth styles already set pointer-events: auto on this class. The OAuth1 Advanced toggle uses the same class, so it keeps
working as before.

Screenshots

Before After

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.
  • I've run the claude code review skill locally.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Summary by CodeRabbit

  • Bug Fixes
    • Improved interaction with expandable authentication sections, including inherited authentication settings and OAuth advanced and token sections.
    • These sections now consistently respond to clicks and show a pointer cursor to indicate they can be opened or closed.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: usebruno/bruno/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0a1f67e6-ef2b-4d65-aa13-fd4316698e8d
📥 Commits

Reviewing files that changed from the base of the PR and between 5493529 and d34dbed.

📒 Files selected for processing (3)
  • packages/bruno-app/src/components/RequestPane/Auth/InheritedAuth/StyledWrapper.js
  • packages/bruno-app/src/components/RequestPane/Auth/OAuth1/index.js
  • packages/bruno-app/src/components/RequestPane/Auth/OAuth2/Oauth2TokenViewer/index.js

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The inherited-auth interaction style now targets .auth-section-toggle. The OAuth1 Advanced toggle and OAuth2 token section use that class. Existing expansion behavior and pointer and cursor styles remain unchanged.

Changes

Authentication UI updates

Layer / File(s) Summary
Align authentication section toggles
packages/bruno-app/src/components/RequestPane/Auth/OAuth1/index.js, packages/bruno-app/src/components/RequestPane/Auth/OAuth2/Oauth2TokenViewer/index.js, packages/bruno-app/src/components/RequestPane/Auth/InheritedAuth/StyledWrapper.js
The OAuth1 Advanced toggle and OAuth2 token section use auth-section-toggle. The inherited-auth interaction style targets the same class. Existing toggle behavior and pointer and cursor styles remain unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to d34db

The OAuth1 Advanced section and OAuth2 token sections remain expandable in inherited auth, with no identified merge-blocking behavior change.

Pre-merge checks · Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: enabling OAuth2 token sections to expand in the inherited authentication view.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A toggle takes its place
One class connects the view
Advanced sections open
Token details join the flow
The cursor points the way
Styles match the buttons now

Comment @coderabbitai help to get the list of available commands.

@sachin-thakur-bruno
sachin-thakur-bruno merged commit fd0e623 into usebruno:main Oct 13, 2026
23 of 29 checks passed
sid-bruno pushed a commit that referenced this pull request Oct 22, 2026
…ew (#9523)

* fix(auth): allow expanding OAuth2 token sections in inherited auth view

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants