All Projects → zkavtaskin → Multitenancy-Microservice-FederatedIdentity-Example

zkavtaskin / Multitenancy-Microservice-FederatedIdentity-Example

Licence: GPL-3.0 license
Multitenancy Federated Identity Example ASP.NET MVC C#

Programming Languages

C#
18002 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
TSQL
950 projects

Projects that are alternatives of or similar to Multitenancy-Microservice-FederatedIdentity-Example

Hydra
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Compatible with MITREid.
Stars: ✭ 11,884 (+35912.12%)
Mutual labels:  sso, openid-connect
3scale-security-oidc-demo
Securing APIs with OpenID Connect using 3scale API Management and Red Hat Single Sign On
Stars: ✭ 25 (-24.24%)
Mutual labels:  sso, openid-connect
lemonldap-ng
LemonLDAP::NG main code
Stars: ✭ 49 (+48.48%)
Mutual labels:  sso, openid-connect
Jpproject.identityserver4.sso
🔒 ASP.NET Core 3.1 Open Source SSO. Built within IdentityServer4 🔑
Stars: ✭ 298 (+803.03%)
Mutual labels:  sso, openid-connect
Jpproject.identityserver4.adminui
🔧 ASP.NET Core 3 & Angular 8 Administration Panel for 💞IdentityServer4 and ASP.NET Core Identity
Stars: ✭ 717 (+2072.73%)
Mutual labels:  sso, openid-connect
Oxauth
OAuth 2.0 server and client; OpenID Connect Provider (OP) & UMA Authorization Server (AS)
Stars: ✭ 308 (+833.33%)
Mutual labels:  sso, openid-connect
mozilla-aws-cli
A command line tool to allow users to log into AWS with their federated identity using Single Sign On and obtain ephemeral API keys.
Stars: ✭ 15 (-54.55%)
Mutual labels:  sso, openid-connect
Zitadel
ZITADEL - Cloud Native Identity and Access Management
Stars: ✭ 105 (+218.18%)
Mutual labels:  sso, openid-connect
Nginx Sso
SSO authentication provider for the auth_request nginx module
Stars: ✭ 195 (+490.91%)
Mutual labels:  sso, openid-connect
LeXun.Security.OAuth
用于 Asp.Net 和 Asp.Net Core 的OAuth2社交身份验证提供程序。支持支付宝,QQ,微信,百度等第三方登录
Stars: ✭ 19 (-42.42%)
Mutual labels:  owin
Microsoft.Owin.Security.QQ-WebChat
QQ and Webchat extensions for Microsoft.Owin.Security
Stars: ✭ 20 (-39.39%)
Mutual labels:  owin
connect-owin
Node.js connect middleware for .NET using OWIN
Stars: ✭ 46 (+39.39%)
Mutual labels:  owin
embedio-extras
Additional Modules showing how to extend EmbedIO.
Stars: ✭ 43 (+30.3%)
Mutual labels:  owin
undertow-pac4j
Security library for Undertow: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 35 (+6.06%)
Mutual labels:  openid-connect
Simplify.Web
Moved to https://github.com/SimplifyNet. Simplify.Web is a lightweight and fast server-side .NET web-framework based on MVC and OWIN for building HTTP based web-applications, RESTful APIs etc.
Stars: ✭ 23 (-30.3%)
Mutual labels:  owin
token-cli
Command line utility for interacting with OAuth2 infrastructure to generate tokens
Stars: ✭ 19 (-42.42%)
Mutual labels:  sso
Cas sso record
CAS实现SSO单点登录项目示例(基本认证流程,代理认证流程,Iframe实现SSO,Restful API实现SSO,JWT认证流程等等)
Stars: ✭ 242 (+633.33%)
Mutual labels:  sso
Sso
sso, aka S.S.Octopus, aka octoboi, is a single sign-on solution for securing internal services
Stars: ✭ 2,835 (+8490.91%)
Mutual labels:  sso
LYM.NetCore
IdentityServer4+EFCore
Stars: ✭ 17 (-48.48%)
Mutual labels:  sso
active-directory-dotnet-daemon-certificate-credential
A .NET 4.5 daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens.
Stars: ✭ 40 (+21.21%)
Mutual labels:  asp-net-mvc

Multitenancy and Federated Identity example

Alt text

Repository objective: To supplement blog articles on multitenancy, microservices and federated identity (see below), and to create easy to follow code repository that makes sense (if it still makes no sense then please do let me know).

Please do note that this repository currently does not contain microservice examples just yet, right now it covers multitenancy and federated identity. Please use this for theoretical / educational purposes only.

Articles

ASP.NET MVC Multitenancy - Introduction & Architecture Overview

ASP.NET MVC Multitenancy, Part 0 - Subdomain VS URL Path

ASP.NET MVC Multitenancy, Part 1 - Routing with OWIN

ASP.NET MVC Multitenancy, Part 2 - OpenID Connect authentication

ASP.NET MVC Multitenancy, Part 3 - NHibernate Tenant Data Filtering and Shared Database

ASP.NET MVC Multitenancy, Part 4 - Authorisation

WROC# Conference Recording - Developing multi-tenant SaaS business applications on Azure

Basic SaaS conversion guide, migrate your application to the Azure Cloud

alt text

Setup Instructions

Step 1 - Create SQL Server

Step 2 - Run baseline.sql

alt text

This will create stoptheline database in your SQL server.

Step 3 - Update Web.config connection string

alt text

Step 4 - Run the web project

Step 5 - Create authentication keys

To use this project you will need authenticate using Open ID Connect protocol. To do this you can use Google, Azure AD, etc.

I am going to use Google to keep things simple, you will need to setup Auth 2.0 credentials, this Google page explains how you can do this.

Once you are done you should see something like this: alt text

Step 6 - Go to http://localhost:2295/signup/tenant/

alt text

Fill everything in use the client id that Google has given you when you have created your auth 2.0 credentials. For authority just use https://accounts.google.com

Before you press "create account", please whitelist your URL, how do you know what your URL is? You get a preview:

alt text

Now that you know what it is go to your Google web application credential account and add your URL to the "Authorized redirect URIs":

alt text

Press "create account".

If you don't do this, when you will press "create account" you will get a screen that will look like this:

alt text

Step 7 - Sign Up

alt text

Step 8 - You are in, just use the app

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].