Base solution for your next web application
Open Closed

Mobile users authenication and autherization #10020


User avatar
0
WirelessDynamics created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version?10.1.0
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)?.net core

If issue related with ABP Framework

  • What is ABP Framework version?

Dear All,

Hi, We are developing a Mobile android application and need to integrate the android users' (dedicated for the mobile application and shouldn't access the back end) credentential, authenication and authoization with users of the backend database , noting that we need to keep track of the number of android lincese in seperate to the license for Backend users

what is the best approah to do that is AspZero?

Thanks, Mina.


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @WirelessDynamics

    By default both Angular and Xamarin apps are using same endpoint for retrieving a token. You can assign a specific role to Mobile users and don't grant them admin page permisisons.

  • User Avatar
    0
    WirelessDynamics created

    Hi ismcagdas,

    Thanks for your email.

    We added static Role for Mobile User And now we need to add specific permissions for this role only, we Add permission in appPermissions but it doesn't appear in permissions in UI.

    Please Advise how to create custom permissions for custom role.

    Thanks, Mina.

  • User Avatar
    0
    WirelessDynamics created

    Dear All,

    Any feedback regarding this case?

    Thanks, Mina

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You also need to define the permission in YourProjectName.Core/Authorization/AppAuthorizationProvider.cs. Then, you can go to your newly created role and assign this permission using the Roles page.