このアプリケーションは 'https://github.com/nov/openid_connect_sample_rp' を参考にしています。
OpenID Connect Implicit Flow を実装した Relaying Party のサンプルアプリケーションです。
このアプリケーションは OP として hiyosi/tiny-oidc-provider
と連携するためのサンプルを目的としていますので、
その他OPと連携した場合に正常に動作しない場合があります。
$ git clone https://github.com/hiyosi/oidc-implicit-flow-rp.git
$ cd oidc-implicit-flow-rp
$ bundle install --path=vendor/bundle
- Rails アプリケーションの起動
$ CLIENT_ID=<YOUR CLIENT_ID> CALLBACK_URL=<YOUR CALLBACK URL> bundle exec rails s -p 5000
http://localhost:5000/
にアクセスして下さい。