How to get an access_token for an entity on behalf of a logged user?
-
Hi everyone.
I read all the documentation available and I couldn't figure it out one thing related to entities.
How do I issue an access_token for a given user that was granted permission to an entity?
I know I can use client_credentials to issue an entity to entity access_token.
I tried adding the same type of scope the client_credentials uses like "target-entity:{id}:{permissions}" to the authorize code flow but it doesn't return in the access_token the expected permissions.
Can somebody point me to a solution to this question?{
Best,
Thiago Benvenuto -
My colleagues and I reviewed this and we do believe this is a current limitation. I will post additional details momentarily.
Thanks,
Josh -
Additional details can be found here
I have filed an issue below. Feel free to expand or add your own comments as needed.
https://github.com/FusionAuth/fusionauth-issues/issues/1295
Thanks,
Josh