[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-oidc] 07/18: 0.0.2
From: |
gnunet |
Subject: |
[reclaim-oidc] 07/18: 0.0.2 |
Date: |
Sat, 12 Jun 2021 00:40:43 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository reclaim-oidc.
commit 774b6e34c57688b9beb84864b7e7577dbd1f7daf
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Sun Apr 28 19:03:32 2019 +0200
0.0.2
---
bin/reclaim-oidc | 3 ++-
lib/reclaim_oidc.rb | 3 ++-
reclaim-oidc.gemspec | 4 ++--
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/bin/reclaim-oidc b/bin/reclaim-oidc
index 32211b7..b279b31 100755
--- a/bin/reclaim-oidc
+++ b/bin/reclaim-oidc
@@ -120,10 +120,11 @@ if (options.list)
puts "------------------------------------"
puts "Authorize Endpoint: #{op['authz_endpoint']}"
puts "Token Endpoint: #{op['token_endpoint']}"
+ puts "Userinfo Endpoint: #{op['userinfo_endpoint']}"
puts "JSON-Web-Token Algorithm: #{op['jwt_algo']}"
puts "JSON-Web-Token key: #{op['jwt_key']}"
puts "Example Authorization Redirect:"
- puts
"https://api.reclaim/openid/authorize?client_id=<client_id>&redirect_uri=<redirect_uri>&scope=email%20full_name&nonce=1234"
+ puts
"https://api.reclaim/openid/authorize?client_id=<client_id>&redirect_uri=<redirect_uri>&response_type=code&scope=email%20full_name&nonce=1234"
puts ""
puts "Registered Clients:"
puts "-------------------"
diff --git a/lib/reclaim_oidc.rb b/lib/reclaim_oidc.rb
index 08a3e06..aaa217a 100644
--- a/lib/reclaim_oidc.rb
+++ b/lib/reclaim_oidc.rb
@@ -23,7 +23,7 @@ class ReclaimOidc
def get_client_secret
uri = URI(@url + '/config/reclaim-rest-plugin')
resp = JSON.parse Net::HTTP.get(uri)
- return resp["PSW"]
+ return resp["OIDC_CLIENT_SECRET"]
end
def get_clients
@@ -74,6 +74,7 @@ class ReclaimOidc
host = 'http://localhost:7776'
op['authz_endpoint'] = host + '/openid/authorize'
op['token_endpoint'] = host + '/openid/token'
+ op['userinfo_endpoint'] = host + '/openid/userinfo'
op
end
def set_jwt_secret
diff --git a/reclaim-oidc.gemspec b/reclaim-oidc.gemspec
index 52bfa9e..3363855 100644
--- a/reclaim-oidc.gemspec
+++ b/reclaim-oidc.gemspec
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'reclaim-oidc'
- s.version = '0.0.1'
- s.date = '2019-04-25'
+ s.version = '0.0.2'
+ s.date = '2019-04-28'
s.summary = "re:claimID OpenID Connect CLI"
s.description = "Used to manage re:claimID OpenID Connect clients and OpenID
Connect Provider configuration(s)"
s.authors = ["Martin Schanzenbach"]
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-oidc] branch master created (now 016209d), gnunet, 2021/06/11
- [reclaim-oidc] 01/18: Initial commit, gnunet, 2021/06/11
- [reclaim-oidc] 04/18: minor, gnunet, 2021/06/11
- [reclaim-oidc] 06/18: ready for deploy, gnunet, 2021/06/11
- [reclaim-oidc] 05/18: integrate config, gnunet, 2021/06/11
- [reclaim-oidc] 03/18: towards working tool, gnunet, 2021/06/11
- [reclaim-oidc] 09/18: 0.0.4, gnunet, 2021/06/11
- [reclaim-oidc] 17/18: Merge branch 'master' into 'master', gnunet, 2021/06/11
- [reclaim-oidc] 08/18: old style posts, gnunet, 2021/06/11
- [reclaim-oidc] 07/18: 0.0.2,
gnunet <=
- [reclaim-oidc] 15/18: Merge branch 'master' into 'master', gnunet, 2021/06/11
- [reclaim-oidc] 11/18: 0.0.5, gnunet, 2021/06/11
- [reclaim-oidc] 12/18: update readme, gnunet, 2021/06/11
- [reclaim-oidc] 13/18: add image, gnunet, 2021/06/11
- [reclaim-oidc] 02/18: add license and readme, gnunet, 2021/06/11
- [reclaim-oidc] 18/18: update to v0.0.7, gnunet, 2021/06/11
- [reclaim-oidc] 10/18: reduce expiration times for client info, gnunet, 2021/06/11
- [reclaim-oidc] 16/18: added error handling for unknown commands + REST service not running, gnunet, 2021/06/11
- [reclaim-oidc] 14/18: added command for changing the jwt secret, gnunet, 2021/06/11