[GH-ISSUE #4391] [bug]: Token generation steps to be executed twice before token is set #1608

Open
opened 2026-03-16 21:04:21 +03:00 by kerem · 2 comments
Owner

Originally created by @maudidio on GitHub (Oct 1, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4391

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I try to generate a new OAUTH token (authorization set at Collection level) I need to execute token generation steps twice to have the token set properly.

Steps to reproduce

  1. Right click on the Collection
  2. Go to Authorization
  3. Click on Generate token
  4. Click on Save
  5. Try a request: token is not working.
  6. Repeat steps 1-4
  7. Try a request: token is now working.

Environment

Production

Version

Cloud

Originally created by @maudidio on GitHub (Oct 1, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4391 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I try to generate a new OAUTH token (authorization set at Collection level) I need to execute token generation steps twice to have the token set properly. ### Steps to reproduce 1. Right click on the Collection 2. Go to Authorization 3. Click on Generate token 4. Click on Save 5. Try a request: token is not working. 6. Repeat steps 1-4 7. Try a request: token is now working. ### Environment Production ### Version Cloud
Author
Owner

@MichaMican commented on GitHub (Mar 17, 2025):

I have this problem too with generally all Authentication settings. Even if i set a token "manually" I always have to save the files twice.

@maudidio to verify if this is the same issue - could you try to generate a new token and then instead of regenerating it just open the properties again and immediately klick on save and check if the token works now.

Image

<!-- gh-comment-id:2730044329 --> @MichaMican commented on GitHub (Mar 17, 2025): I have this problem too with generally all Authentication settings. Even if i set a token "manually" I always have to save the files twice. @maudidio to verify if this is the same issue - could you try to generate a new token and then instead of regenerating it just open the properties again and immediately klick on save and check if the token works now. ![Image](https://github.com/user-attachments/assets/3d97477a-7336-403f-b722-5509c44c0617)
Author
Owner

@maudidio commented on GitHub (Mar 17, 2025):

@MichaMican thanks for the reply. Yes, it does the same to me: just saving twice makes tokens work.

<!-- gh-comment-id:2730185046 --> @maudidio commented on GitHub (Mar 17, 2025): @MichaMican thanks for the reply. Yes, it does the same to me: just saving twice makes tokens work.
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#1608
No description provided.