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

    Unclear about Roles for Applications and Entities

    Scheduled Pinned Locked Moved
    General Discussion
    0
    2
    648
    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
      daniel
      last edited by daniel

      Hello everyone,
      We're researching into using FusionAuth as a replacement for Auth0 and, after reading the documentation, couldn't decide because there's no definitive scenario that describes our requirements.

      We plan on using FusionAuth to provide services via our mobile apps, that will be connecting to our APIs, and for those we will be setting up Applications and Entities. The question is - if the API is an Entity, and mobile app is an application, how roles will be designated to users for the APIs? How do we access them there? Is it done via same approach as in Auth0?

      Also there is a question about using Roles by tenants - as we plan to create those roles, while Tenants will be assigning them to their users, is that actually possible?

      1 Reply Last reply Reply Quote 0
      • joshuaJ
        joshua
        last edited by

        @daniel,

        Glad you are trying us out! I will do my best to address your questions.

        if the API is an Entity, and mobile app is an application, how roles will be designated to users for the APIs? How do we access them there? Is it done via same approach as in Auth0?

        Are you saying that you are looking to have the same roles (they are called permissions the entity types) assigned to an entity and a user? I may need a little more context to better understand. Maybe you could outline how you are expecting this to work in practice.

        Side note, we have documentation on this to be found here (you may have already reviewed it).

        https://site-local.fusionauth.io/docs/v1/tech/core-concepts/entity-management/
        https://site-local.fusionauth.io/docs/v1/tech/apis/entity-management/#undefined

        Also there is a question about using Roles by tenants - as we plan to create those roles, while Tenants will be assigning them to their users, is that actually possible?

        Roles are scoped to an application per documentation. I might need some additional clarification/context to better address.

        https://site-local.fusionauth.io/docs/v1/tech/core-concepts/roles/#overview

        Let us know. Happy to help as able!

        Thanks,
        Josh

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