mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #3720] [bug]: Endless spinner after generation of valid OAUTH2 access token #1286
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1286
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jordibeen on GitHub (Jan 4, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3720
Is there an existing issue for this?
Current behavior
When trying to add OAuth 2.0 Authorization to the collection I am redirected back to an endless spinner after the challenge.
I've checked the Network tab, and that shows me that an access token was fetched successfully. I have tried pasting this
access_tokenthe 'Token' field, and that works.It looks to be an issue in the logic that's fired after the redirection.
See gif and screenshot below.

Being redirected back to the endless spinner after the OAuth challenge
The network tab showing valid tokens
Steps to reproduce
Environment
Production
Version
Self-hosted
@liyasthomas commented on GitHub (Jan 4, 2024):
@amk-dev can you look into this?
@jordibeen commented on GitHub (Jan 9, 2024):
I've noticed that this happens when the active request that you are redirected to has "Authorization type" set to "Inherit". This unfortunately makes the Inherit option unusable for now.
@ventsislav-georgiev commented on GitHub (Jan 11, 2024):
Hitting the same issue, in my case it does not matter if Inherit is set or not.
Steps:
github.com/hoppscotch/hoppscotch@cd371fc9d4/packages/hoppscotch-common/src/helpers/oauth.ts (L299)github.com/hoppscotch/hoppscotch@cd371fc9d4/packages/hoppscotch-common/src/pages/oauth.vue (L72)in the check for the currentActiveTab.https://hop.xxx/oauth?code=...as it does not navigate to/@ventsislav-georgiev commented on GitHub (Feb 10, 2024):
Any update here?