diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2019-12-10 09:32:00 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-12-13 14:58:00 +0100 |
commit | f1bcc5cd93e050b9147d56c53c8e7fbe36298c55 (patch) | |
tree | 96919959aa6a8251fdaadc0e2b7460ee254f0686 /memo.txt |
Initial commit
Provide a simple authorization server that delivers
token using "client credential" flow, based on the
Smack label.
Bug-AGL: SPEC-2968
Change-Id: I941c96b06a6de3b2b38875c12ada42621593791c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'memo.txt')
-rw-r--r-- | memo.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/memo.txt b/memo.txt new file mode 100644 index 0000000..cadbb09 --- /dev/null +++ b/memo.txt @@ -0,0 +1,16 @@ +cd build + +afb-daemon --no-ldpaths --binding=./src/binding-oauth-oidc.so --traceevt=all --tracereq=all -vvv -t '' -p 4444 + +afb-client-demo -H localuser:4444/api?token=4 + +oauth-oidc auth {"authorization_endpoint":"http://localhost:7777/auth","token_endpoint":"http://localhost:7777/tok","redirect_uri":"http://localhost:0/hell-entry","client_id":"me","client_secret":"jojo","scope":["a", "b", "c", "c", "b", "aa"],"data":"data-1"} + +oauth-oidc auth {"authorization_endpoint":"https://localhost:7777/auth","token_endpoint":"https://localhost:7777/tok","redirect_uri":"http://localhost:0/hell-entry","client_id":"me","client_secret":"jojo","scope":["a", "b", "c", "c", "b", "aa"],"data":"data-1"} + +oauth-oidc auth {"authorization_endpoint":"https://github.com/login/oauth/authorize","client":"03e364709b579e82db5c"} + +src/test-ep 7777 + +src/test-ep s 7777 + |