You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a flask app as backend and react as frontend separately and when request to /login everything seems to be fine but when I tried to request to protected page when @auth_required("token", "session") and @cross_origin(supports_credentials=True) decorator its return
{
"meta": {
"code": 401
},
"response": {
"errors": [
"You are not authenticated. Please supply the correct credentials."
]
}
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I create a flask app as backend and react as frontend separately and when request to
/login
everything seems to be fine but when I tried to request to protected page when@auth_required("token", "session")
and@cross_origin(supports_credentials=True)
decorator its returnthis is log from my backend
Beta Was this translation helpful? Give feedback.
All reactions