I created a Jamming app, from React course, but I’m having issues with hiding my data, like client id, tokens, etc. Also I have issue with redirection, I tried exploring it myself, even have 2 files for routing, but I cant implement rerouting if user not signed in(token not present); everything I found on internet didnt help my case, my webpage either wont display at all or sometimes, link in window.search changes to /home when login page rendered, instead of home page.
here is a repo link: romankolosok/Spotify-API-project (github.com)