I'm currently working on a headless project: an Angular Front-End retrieves data dynamically using a Back-End's API.
This API requires an OAuth1 ahtorization, so that the Angular app has to pass 4 tokens (request, request secret, access, access secret) on each call.
Currently, these tokens are stored in a JS config file. As the API client is a pure Front-End app, any user can access them (even from the browser's console!).
My question is pretty obvious: how to store these tokens in a more secure way in my use case?
Thank you in advance.