Git Product home page Git Product logo

oidc.example's Introduction

OIDC Servers

  1. src/web.oidc.server.ids4 : ids4 (https://github.com/IdentityServer/IdentityServer4) example (with qqconnect external login).

OIDC Clients

  1. src/web.oidc.client.hybrid : web site, hybrid flow.
  2. src/web.oidc.client.implicit : web site, implicit flow.
  3. src/web.oidc.client.js : web site(static), implicit flow .
  4. src/uwp.oidc.client.authorization-code : uwp app, authorization code flow.
  5. src/console.oidc.client.client-credentials :console app,client credentials flow(oauth2).

OAuth2 Protected Resource

  1. src/web.oauth2.resources.aspnetcore. : asp.net core 2).
  2. src/web.oauth2.resources.owin. : asp.net owin.

OAuth2 Clients

  1. src/web.oauth2.client.aspnetcore : asp.net core 2.
  2. src/web.oauth2.client.owin : asp.net owin.

OAuth2 QQConnect Middleware

  1. src/oauth2.qqconnect.aspnetcore : asp.net core 2.
  2. src/oauth2.qqconnect.owin : asp.net owin.

How to run?

Use administrator run build.ps1 to deploy demo web site to local IIS.

If you want use QQ Connect, please replace ClientId and ClientSercet in src/_shared/QQConnectConfig.cs file.

public static class QQConnectConfig
{
    public static readonly string ClientId = "You App Id";
    public static readonly string ClientSecret = "You App Secret";
}

build.ps1

build.ps1 -help

build.ps1 -target {Task}

Task                          Description
================================================================================
clean                         清理项目缓存
restore                       还原项目依赖
build                         编译项目
publish                       发布项目
deploy                        部署到本机IIS
open-browser                  用浏览器打开部署的站点
default                       默认执行open-browser

Blog

Authentication and Authorization: http://www.cnblogs.com/linianhui/category/929878.html

OIDC in Action: http://www.cnblogs.com/linianhui/category/1121078.html

ids3

https://github.com/linianhui/oidc.example/tree/ids3

oidc.example's People

Contributors

linianhui avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.