DeliKhan / Bill-Notifier

0 stars 0 forks source link

React unable to obtain data from google #1

Open DeliKhan opened 1 month ago

DeliKhan commented 1 month ago

When you go to the client site (localhost:3000), console logs a 500 status error with the message that its an Internal Server Error.

Upon checking the flask backend, the user is properly logged in and it returns the user's name. When checking the server log, it notes "flask_oauthlib.client.OAuthException: No token available".

Thus, I have determined that the access token must be securely passed to the client side before the request is made. I will use JWT in this scenario

DeliKhan commented 1 month ago

Upon further investigation, it seems that none of the data being provided by GET is being read by React. I still believe its because React does not have the access token

DeliKhan commented 4 weeks ago

I have also tried using HTTPS via flask, but the encrypted connection still resulted in the same error.