2 posts were merged into an existing topic: Access-token is undefined after adding roles after post-login action