blob: 97414bbb1f0a70503dd22505180de04be35566dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
(ns dummy-auth.oidc.userinfo
(:require [ring.util.response :as ruresp]))
;; https://openid.net/specs/openid-connect-core-1_0.html#UserInfo
(defn handle [_req]
(println "oidc/userinfo: responding...")
(ruresp/response {"sub" "0"
"name" "Jane Doe"
"given_name" "Jane"
"family_name" "Doe"
"preferred_username" "j.doe"
"email" "janedoe@example.com"
"picture" "http://example.com/janedoe/me.jpg"}))
|