[GH-ISSUE #5183] [bug]: Auth type switches from Inherit to None after saving the Request #1975

Closed
opened 2026-03-16 22:42:55 +03:00 by kerem · 2 comments
Owner

Originally created by @mayank-jain-1010 on GitHub (Jun 22, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5183

Originally assigned to: @mayank-jain-1010 on GitHub.

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Web App

Browser

Chrome

Operating System

macOS

Bug Description

What happened?

Auth type Inherit changes to None in OAuth 2.0 authorization after /oauth callback

Steps to reproduce?

  • You may have to import a sizeable number API collections to observe this behavior
  • Go to a child request, you will observe that the auth type is inherit
  • Go to the parent collection's properties and Generate Access Token
  • Save the access token after the /oauth callback
  • You will find that the auth type changes from inherit to none and even with a valid token you would not be able to hit the API
  • To verify the token was valid, you could copy the generated token and try a bearer request.

Screen Recording

https://github.com/user-attachments/assets/a31a1423-9eff-414c-b2db-c89d4fe94782

Deployment Type

Hoppscotch Cloud

Version

2025.5.3

Originally created by @mayank-jain-1010 on GitHub (Jun 22, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5183 Originally assigned to: @mayank-jain-1010 on GitHub. ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Web App ### Browser Chrome ### Operating System macOS ### Bug Description ## What happened? Auth type `Inherit` changes to `None` in OAuth 2.0 authorization after `/oauth` callback ## Steps to reproduce? - You may have to import a sizeable number API collections to observe this behavior - Go to a child request, you will observe that the auth type is inherit - Go to the parent collection's properties and `Generate Access Token` - Save the access token after the `/oauth` callback - You will find that the auth type changes from `inherit` to `none` and even with a valid token you would not be able to hit the API - To verify the token was valid, you could copy the generated token and try a bearer request. ## Screen Recording https://github.com/user-attachments/assets/a31a1423-9eff-414c-b2db-c89d4fe94782 ### Deployment Type Hoppscotch Cloud ### Version 2025.5.3
kerem 2026-03-16 22:42:55 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@mayank-jain-1010 commented on GitHub (Jun 22, 2025):

Root cause was a race condition in collection tree loading and auth inheritance computation. It has been addressed in the above PR - would appreciate a review.

<!-- gh-comment-id:2993869032 --> @mayank-jain-1010 commented on GitHub (Jun 22, 2025): Root cause was a race condition in collection tree loading and auth inheritance computation. It has been addressed in the above PR - would appreciate a review.
Author
Owner

@liyasthomas commented on GitHub (Sep 29, 2025):

The latest version of Hoppscotch has resolved this bug.

<!-- gh-comment-id:3347076739 --> @liyasthomas commented on GitHub (Sep 29, 2025): The latest version of Hoppscotch has resolved this bug.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1975
No description provided.