``
muneebkq opened this issue · 0 comments
muneebkq commented
I'm using localforage lib. The tokenGetter function inside config is unable to get token and throws an error ( token.split is not a function)
My tokenGetter function
export function tokenGetter() { return PersistentStoreService.getAccessToken(); }
It uses a service
public static getAccessToken(): Promise<string | null> {
return localforage.getItem(ACCESS_TOKEN);
}