you can not securely encrypt on the client, only has. You should not pass secure data to the client that the client is not allowed to view, keep it on the server.
if you must, have the server encrypt the data, which the client can safely store, and send to the server at a later time.
note: proper auth tokens are clear text by design (they are signed instead), and do not need to be encrypted. you can safely store the in local storage (at least on a private hosted web browser)