[GH-ISSUE #4169] [feature]: Generated Authorization token in Collection Properties aware of environment change (or automatic regeneration of token for configured Authorization part) #1505

Open
opened 2026-03-16 20:37:24 +03:00 by kerem · 0 comments
Owner

Originally created by @kamilzki on GitHub (Jul 4, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4169

Is there an existing issue for this?

  • I have searched the existing issues

Summary

Hi!
I followed the steps from https://docs.hoppscotch.io/documentation/features/authorization#oauth-2-0 to set the Collection Properties Authorization part for all requests. I'm not sure if there is any better way so I'm posting here the idea.

While changing frequently environments, the generated token is not changing accordingly. It would be nice to have it environment-aware or have some configuration that tries to regenerate the token whenever Unauthorized is returned for any request (that might be even more helpful in the case of short-lived tokens).

Why should this be worked on?

Whenever I change the environment, I need to go to Collections Properties, hit "Generate Token" button to generate a specific one for the active environment, and save it.

Originally created by @kamilzki on GitHub (Jul 4, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4169 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary Hi! I followed the steps from https://docs.hoppscotch.io/documentation/features/authorization#oauth-2-0 to set the Collection Properties Authorization part for all requests. I'm not sure if there is any better way so I'm posting here the idea. While changing frequently environments, the generated token is not changing accordingly. It would be nice to have it environment-aware or have some configuration that tries to regenerate the token whenever Unauthorized is returned for any request (that might be even more helpful in the case of short-lived tokens). ### Why should this be worked on? Whenever I change the environment, I need to go to Collections Properties, hit "Generate Token" button to generate a specific one for the active environment, and save it.
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#1505
No description provided.