Giter VIP home page Giter VIP logo

oidc_op_rp-sample's Introduction

oidc_op_rp-sample

OpenID Provider and Relying Party samples written by Ruby and Next.js.

Note: Make sure it's for practice and not a problem when you use it in production.

 

Tested Environment

  • macOS
  • Open ID Provider
    • rails_open_id_provider
      • Rails 6.1.4
      • doorkeeper 5.5.2
      • doorkeeper-openid_connect 1.8.0
      • devise 4.8.0
  • Relying Party by Rails
    • rails_relying_party_of_backend
      • Rails 6.1.4
      • omniauth 2.0.4
      • omniauth-oauth2 1.7.1
  • Relying Party by Next.js
    • nextjs_relying_party_of_express_with_all_required
      • Next.js 11.1.2
      • express 4.17.1
      • express-openid-connect 2.5.0
  • Relying Party by Next.js and TypeScript
    • nextjs_relying_party_of_express_with_all_required
      • Next.js 11.1.2
      • express 4.17.1
      • express-openid-connect 2.5.0
      • TypeScript 4.4.3

 

How to use

  1. generate signing key in rails_open_id_provider directory
% ssh-keygen -t rsa -P "" -b 4096 -m PEM -f jwtRS256.key
  1. run OP and RP by Rails
% rails s
  1. run RP by Next.js
% yarn run dev

 

Related Blog (Written in Japanese)

oidc_op_rp-sample's People

Contributors

thinkami avatar k0kishima avatar

Stargazers

snito avatar s.nakashima avatar at avatar  avatar  avatar

Watchers

woremacx avatar James Cloos avatar  avatar  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.