How do I embed Google Tasks on Google Sites?

I would like to embed Google Tasks on my Google Sites dashboard. It is possible to see it on its own webpage with this link:

Image from

When I try to embed it in Google Sites though, I get this error:
error notification

Clicking “Reauthenicate” opens a new tab with the task list, but I want it to work in a Google Sites dashboard I have for myself. Is this possible? It might be for a normal website, but I specifically want to use it in Google Sites. I can do this with Google Calendar, so I figured it is possible with Google Tasks.