V4 Providers not working

hey, i’m also following the guide Roles & Permissions - Strapi Developer Docs.

i als o get that grant error when going to http://localhost:1337/api/connect/discord

{
“data”: null,
“error”: {
“status”: 400,
“name”: “BadRequestError”,
“message”: “Grant: mount session middleware first”
}
}

i’ve read the guide 10 times over and cant figure out whats going wrong