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
Merge #42: fix: [#41] add authentication bearer token to all requests
5536b1e fix: [#41] add authentication bearer token to all requests (Jose Celano)
Pull request description:
Relates to: torrust/torrust-index-gui#412
Add authentication bearer token to all requests.
The Index does not have any session data on the backend. If the client does not provide the Authentication Bearer Token the request is processed as a anonymous request. Some endpoints like the one to download the torrent file return different data depending on wether the user is logged in or not. So we have to include always the token is it's available.
ACKs for top commit:
josecelano:
ACK 5536b1e
Tree-SHA512: bc2907486e5facfb232119c2322740897dea219506e5ff1a91b49c2da205fc79409ec063d44ca917bc8305f594fad2fcc1560a7c82dbf47275ec5d2bb970b751
0 commit comments