Okta-Angular, security concerns on storing the okta token data in Browser Local Storage

In angular application ,Okta-Angular is storing all the Okta-Token-Storage and Okta-Cache-Storage data in browser Local Storage, which is a security concern , is there any solution to address this security concern ?

Highly appreciate for any responses.

You can configure the library to use one of the storage options listed at

1 Like

If you have a backend, you can do the authentication there instead of on the front end. This blog post shows you how to move from having authentication in Angular (with Okta’s Angular SDK) to doing it on the backend with Spring Boot.

1 Like