I am using Angular 9. I would like to do something similar to this, but do not want to expose the token because of security reasons.