Add header to the getSession()
request
#4254
Unanswered
TkaczykAdam
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
Hello, I faced an issue with
getSession
method on staging environment. The staging is protected by basic authorization. The problem is here, infetchData
helper:The authorization header is omitted, so my server is throwing
403
errorMy workaround for now is:
Is there any better way to solve this problem?
How to reproduce ☕️
Use
getSession
on enviroment where basic auth is requiredContributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions