Skip to content

Commit 4caf4c9

Browse files
committed
Added claim grant_types as supported by client.
1 parent 0e3d189 commit 4caf4c9

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/idpyoidc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def verified_claim_name(claim):
1010

1111
def proper_path(path):
1212
"""
13-
Clean up the path specification so it looks like something I could use.
13+
Clean up the path specification such that it looks like something I could use.
1414
"./" <path> "/"
1515
"""
1616
if path.startswith("./"):

src/idpyoidc/client/oauth2/authorization.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class Authorization(Service):
3232
_supports = {
3333
"response_types_supported": ["code"],
3434
"response_modes_supported": ["query", "fragment"],
35+
"grant_types": []
3536
}
3637

3738
_callback_path = {

src/idpyoidc/server/oauth2/authorization.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ class Authorization(Endpoint):
359359
# "grant_types_supported": ["authorization_code", "implicit"],
360360
"code_challenge_methods_supported": ["S256"],
361361
"scopes_supported": [],
362+
# "grant_types": [],
362363
}
363364
default_capabilities = {
364365
"client_authn_method": ["request_param", "public"],

0 commit comments

Comments
 (0)