question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Single Sign On: Azure AD B2C vs IdentityServer4, and others

See original GitHub issue

I came across this great article below, which uses IdentityServer4. https://docs.microsoft.com/en-us/xamarin/xamarin-forms/enterprise-application-patterns/authentication-and-authorization

However, I have problem deciding which tool/framework to use for implementing Single Sign On for our project. Q1. Based on what reasons does Microsoft team decide to use IdentityServer4 on the link above?

Q2. What aspects and pros and cons should we consider when choosing the tool?

For example, one of the criteria for choosing a tool is its community. Based on my perception, the community of IdentityServer4 seems less popular (please correct me if I am wrong).

Specifically, we need to implement SSO within our firm for the scenario below:

  1. To implement SSO, the server side can be custom made like using IdentityServer4 or off-shelf solution like B2C or others
  2. Android mobile apps can login via user/password entered by users.
  3. Our firm manage all devices, and install certificate on all devices, and manage the identity server.
  4. All apps running on server side that the Android mobile app needs access to are owned by us.

Q3. What other framework/solution is available, apart from IdentityServer4 and B2C?

Any links or advice would be very much appreciated.

https://docs.microsoft.com/en-us/xamarin/xamarin-forms/data-cloud/authentication/

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:14

github_iconTop GitHub Comments

12reactions
tiagopsantoscommented, Oct 12, 2020

Hello, what’s your opinion over the following news?

Warning As of Oct, 1st 2020, we started a new company. All new feature work will hapen in our new organization. The new Duende IdentityServer is available under both a FOSS (RPL) and a commercial license. Development and testing is always free. Contact us for more information. IdentityServer4 will be maintained with bug fixes and security updates until November 2022.

Does it have an impact in the decision Azure AD B2C vs IdentityServer4 in future projects?

I’m starting a new project, we have teams with expertise in IdentityServer4, but now I’m a bit cautious over the news…

3reactions
CESARDELATORREcommented, Jan 29, 2019

IdentityServer4 is the only modern framework for .NET Core and ASP.NET Core that supports ASP.NET Core Identity while using tokens compatible with the multiple approaches we have:

  • .NET Core microservices (Web API)
  • Web Apps (ASP.NET Core MVC and SPA with Angular)
  • Xamarin apps

When you say “IdentityServer4 seems less popular”. It is less popular than what? IdentityServer4 is pretty popular in the ASP.NET Core world when you want to also use ASP.NET Core Identity with the same tokens for multiple types of apps (web, services, mobile).

Based on your requirements above, I’d say you can do it all with IdentityServer4.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why would I ever choose IdentityServer over Azure AD B2C?
IdentityServer is fully customizable, whereas with AADB2C I believe you're mostly limited to templates. IS also integrates with ASP.NET Identity ...
Read more >
Azure AD B2C, ADFS and Azure AD feasibility
IdentityServer 4 is used for SSO and as the identity provider. Authentication is done in 2 ways: Manually signed-up users are authenticated ...
Read more >
How to setup a SSO with azure AD B2C and external IDP ...
We need to setup a SSO and we leverages the custom policy Azure AD B2C mechanism to set up B2C to talk to...
Read more >
Migration from IdentityServer4 to AzureB2C
I think the best migration approach is to have one of them (your existing IDS4 IDP or B2C) temporarily act as a federation...
Read more >
Azure Active Directory Versus Identity Server
A comparison between Azure Active Directory and Identity Server covering the advantages and disadvantages of both.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found