Add name to userinfo
This commit is contained in:
parent
957a6c6c97
commit
a86c8e2b26
1 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ class ApiHelper {
|
|||
await ref.read(KeyController.provider.future),
|
||||
);
|
||||
return Response.ok(
|
||||
jsonEncode({"sub": jwt.subject}),
|
||||
jsonEncode({"sub": jwt.subject, "name": jwt.subject!.getName()}),
|
||||
headers: {"Content-Type": "application/json"},
|
||||
);
|
||||
} catch (e) {
|
||||
|
@ -207,7 +207,7 @@ class ApiHelper {
|
|||
"token_endpoint": "${settings.issuer}/token",
|
||||
"userinfo_endpoint": "${settings.issuer}/userinfo",
|
||||
"introspection_endpoint": "${settings.issuer}/introspect",
|
||||
"end_session_endpoint": "${settings.issuer}/logout",
|
||||
"end_session_endpoint": "#",
|
||||
"response_types_supported": ["code"],
|
||||
"subject_types_supported": ["public"],
|
||||
"id_token_signing_alg_values_supported": ["HS256"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue