• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

Can I get permissions granted to a user against an Entity in an OAuth grant

Scheduled Pinned Locked Moved
Q&A
entities authorization code grant
1
3
4.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dan
    last edited by 30 Jun 2021, 20:59

    I create an entity, then granted a user access to that entity using the API.

    Is there a way I can get those entity permissions in authorization code grant?

    --
    FusionAuth - Auth for devs, built by devs.
    https://fusionauth.io

    1 Reply Last reply Reply Quote 0
    • D
      dan
      last edited by 30 Jun 2021, 21:01

      Not at the current time.

      You can of course use the API to retrieve the grants against your entity and you can search for all entities a user has been granted pemissions on, but this is not currently part of any OAuth grants.

      Please file an issue outlining your use case if you'd like support to be added.

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      D 1 Reply Last reply 6 Dec 2021, 18:08 Reply Quote 0
      • D
        dan @dan
        last edited by 6 Dec 2021, 18:08

        The ability to search grants for a user was a gap in our documentation. We have since released an update to showcase/describe the use case.

        https://fusionauth.io/docs/v1/tech/apis/entity-management/grants/#search-for-grants

        Your API endpoint call will look like below:

        GET /api/entity/grant/search?userId={uuid}
        

        Additional possible filtering functionality is documented in this feature request.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post