getAuthToken

This utility can be used to get a JWT token generated by Dynamic which is stored inside of localStorage.

import { getAuthToken } from "@dynamic-labs/sdk-react";

const App = () => {
    const dynamicJwtToken = getAuthToken()
    ...
}