Some frontend requisitons to the back end are being denied because of unauthorized CORS access. This issue has been observed when a regular user tries to access their configuration page. So far it seems to be a combination of a front end and back end issue, so a thorough analysis and debugging need to be done in both ends of the code. All requisitons work when tried from Bruno or Insomnia
Some frontend requisitons to the back end are being denied because of unauthorized CORS access. This issue has been observed when a regular user tries to access their configuration page. So far it seems to be a combination of a front end and back end issue, so a thorough analysis and debugging need to be done in both ends of the code. All requisitons work when tried from Bruno or Insomnia
Most likely related code: https://github.com/daniellima0/corretores-online/blob/af6abcaba277dd92f60f7b1fd114443f849bce1d/backend/auth/jwt.go#L27
https://github.com/daniellima0/corretores-online/blob/af6abcaba277dd92f60f7b1fd114443f849bce1d/backend/main.go#L22