Is there any way to get user roles without a m2m token?

Right now i am calling the management API with an m2m token

But i was wondering if there is a way to get that information without a bearer token, or if i could pass it in somehow

I followed this and now i have it inside my user profile. This seems to work just fine. Not sure if its super secure

Hey there!

Glad you have it working. If you followed the doc thoroughly it’s for sure secure :slight_smile: