mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #3623] [bug]: 403 auth/cookies_not_found reject if not provided on REST API / GraphQL calls #1254
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#1254
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 @Leon-Luu on GitHub (Dec 5, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3623
Is there an existing issue for this?
Current behavior
When perform the GraphQL query, it is asking to have the cookie in the header. How can we bypass the cookie? We have generated the Access_token and provide this to the header (or Authorization) which should be enough for the normal REST / GraphQL call..
Steps to reproduce
with headers:
Authorization : Bearer ${{Access_token }}
Body (GraphQL query):
query Me {
me {
uid
displayName
email
photoURL
isAdmin
createdOn
currentRESTSession
currentGQLSession
}
}
Response:
{
"errors": [
{
"message": "auth/cookies_not_found",
"extensions": {
"code": "FORBIDDEN",
"response": {
"statusCode": 403,
"message": "auth/cookies_not_found",
"error": "Forbidden"
}
}
}
],
"data": null
}
Environment
Production
Version
Self-hosted
@pravindodia commented on GitHub (Feb 22, 2024):
+1
@Think-Jay commented on GitHub (Mar 1, 2024):
use https is ok
@Think-Jay commented on GitHub (Mar 1, 2024):
https://github.com/hoppscotch/hoppscotch/issues/3394