Base solution for your next web application
Open Closed

Integrate IdentityServer4 based authentication in AngularUI #4616


User avatar
0
myeasyiso created

Hi,

How can I Integrate IdentityServer4 based authentication in AngularUI Client?

Regards


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

    Hi @MyEasyISO,

    Do you want serve your AspNet Zero app as an Identity Server or do you want your AspNet Zero app to connect to another Identity Server ?

    If it is the first one, you can just enable it in th appsettings.json. If it is the second one, then it depends on which flow you want to use for Identity Server.

    Can you share a bit more information ?

  • User Avatar
    0
    myeasyiso created

    Hi,

    I would like to have a separate/centralized IdentityServer which can can handle authentication and registration process for me. So, in future when i develop new products i don't need to write the UI+logic for token based authentication and user registration process.

    I understand that we can enable Identity server in our existing project structure. But in the angular code we are not mentioning the IdentityServer related informations like ClientId, SilentRefresh etc etc. Also, i see that Login and Registration pages are available as part of angular code. But i need a centralized IdentityServer which can handle all this functionality and each of my clients need NOT have this functionality in-built.

    Hope i made myself clear, otherwise, if possible, we can have a skype call.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @MyEasyISO,

    Thanks for the detailed explanation. This is not implemented in AspNet Zero's Angular UI, you need to implement it by yourself.