Node.js and TypeScript Tutorial: Secure an Express API

I have followed the tutorial up until “Now that the authorization guards are in place, any attempt to create a new menu item directly using a non-admin access token results in failure:” When I login as an admin user I can see the add item and edit item buttons but it says “unauthorized”. If I log in as a regular user the buttons are gone. I had to set up the auth0 stuff as an action since rules are deprecated but unsure how to progress since it obviously sees my admin role and shows the buttons but won’t let me make any changes.