Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

IdentityServer authorization UI #7715


User avatar
0
Ricavir created

Hi,

Do you provide with zero an IdentityServer UI (Angular or MVC) for authorization ?

If not, do you have some guidelines ?


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Do you provide with zero an IdentityServer UI (Angular or MVC) for authorization ?

    There is currently no UI available.

    If not, do you have some guidelines ?

    There are commercial and free community UIs, you can search and see.

  • User Avatar
    0
    Ricavir created

    Yes, but what is your advice ? Doing it in MVC or angular ?

    I'm thinking of using MVC with UI provided by IdentityServer4 team In that case, can you provide the basic steps to configure it with abp ?

    For example :

    • How to enable an Identityserver endpoint (like it is done to access swagger) ?
    • How to define the redirection url's (in appsettings file) ?

    As we are using abp to activate identityserver, I need to know what differs from "standard" identityserver integration.

  • User Avatar
    0
    Ricavir created

    I can see on MVC project template that identyserver UI is implemented (views and controllers) https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/Controllers/ConsentController.cs.

    Would it be possible to integrate it to my zero angular project ?

    I need your help on this.

  • User Avatar
    0
    maliming created
    Support Team

    The code for ConsentController comes from IdentityServer4.Quickstart.UI (https://github.com/IdentityServer/IdentityServer4.Quickstart.UI/blob/master/Quickstart/Consent/ConsentController.cs)

    For more information on Identity Server, please check its documentation:http://docs.identityserver.io/en/latest/

    If you encounter problems while using it, welcome feedback.

  • User Avatar
    0
    Ricavir created

    @maliming : thank you for you answer but this is not my question. I already have searched for IS4 UI's on the web and already know IS4 documentation.

    My question is : is it possible to integrate MVC UI in my project ? As I am using angular UI, I never had to add MVC in the past.

    Can you please give me a clue ? There should be a reason why abp zero team has not implemented it on angular... and I want to know if there is a blocking point to do it.

  • User Avatar
    0
    Ricavir created

    For those who are searching for activating idenityserver authorization code flow UI with zero and angular, here is how I've done it. I've added a MVC UI build from IdentityServer QuickStart UI AND zero MVC project. The main difference is arround AccountController. I also had to change identityserver login URL to avoid duplicate routes with angular side.

    I've just added login and consent screens as I don't needed more.

    I still need to check if refresh token flow is working with identityserver.... but this is another topic.