diff --git a/example/flask_op/config.json b/example/flask_op/config.json index 3b75e18f..2fe378fc 100644 --- a/example/flask_op/config.json +++ b/example/flask_op/config.json @@ -208,13 +208,8 @@ "request_uri_parameter_supported": true, "response_types_supported": [ "code", - "token", "id_token", - "code token", - "code id_token", - "id_token token", - "code id_token token", - "none" + "code id_token" ], "response_modes_supported": [ "query", diff --git a/example/flask_op/private/cookie_jwks.json b/example/flask_op/private/cookie_jwks.json index 3aafdf12..528741ff 100644 --- a/example/flask_op/private/cookie_jwks.json +++ b/example/flask_op/private/cookie_jwks.json @@ -1 +1 @@ -{"keys": [{"kty": "oct", "use": "enc", "kid": "enc", "k": "gVdGvOn9TFG38gzqs2uO-pQB40qxJbfm"}, {"kty": "oct", "use": "sig", "kid": "sig", "k": "HlW_dFC6aquKPZ6zGtq2dZEBcntP9uHd"}]} \ No newline at end of file +{"keys": [{"kty": "oct", "use": "enc", "kid": "enc", "k": "GCizp3ewVRV0VZEef3VQwFve7n2QwAFI"}, {"kty": "oct", "use": "sig", "kid": "sig", "k": "QC2JxpVJXPDMpYv_h76jIrt_lA1P4KSu"}]} \ No newline at end of file diff --git a/example/flask_rp/application.py b/example/flask_rp/application.py index cf58d426..cac411f1 100644 --- a/example/flask_rp/application.py +++ b/example/flask_rp/application.py @@ -16,7 +16,7 @@ def init_oidc_rp_handler(app): if _rp_conf.key_conf: _kj = init_key_jar(**_rp_conf.key_conf) _path = _rp_conf.key_conf['public_path'] - # removes ./ and / from the begin of the string + # removes ./ and / from the begining of the string _path = re.sub('^(.)/', '', _path) else: _kj = KeyJar() diff --git a/example/flask_rp/config.json b/example/flask_rp/config.json index ba980896..8ffdff51 100644 --- a/example/flask_rp/config.json +++ b/example/flask_rp/config.json @@ -87,26 +87,26 @@ }, "clients": { "": { - "client_preferences": { + "httpc_params": { + "verify": false + }, + "client_type": "oidc", + "capabilities": { "application_name": "rphandler", - "metadata": { - "application_type": "web", - "contacts": [ - "ops@example.com" - ], - "response_types": [ - "code" - ] - }, - "usage": { - "scope": [ - "openid", - "profile", - "email", - "address", - "phone" - ] - }, + "application_type": "web", + "contacts": [ + "ops@example.com" + ], + "response_types_supported": [ + "code" + ], + "scopes_supported": [ + "openid", + "profile", + "email", + "address", + "phone" + ], "token_endpoint_auth_methods": [ "client_secret_basic", "client_secret_post" diff --git a/example/flask_rp/templates/opbyuid.html b/example/flask_rp/templates/opbyuid.html index a91b6b98..5e19c7b1 100644 --- a/example/flask_rp/templates/opbyuid.html +++ b/example/flask_rp/templates/opbyuid.html @@ -19,7 +19,7 @@

By entering your unique identifier:

an issuer ID

-

Or you can chose one of the preconfigured OpenID Connect Providers

+

Or you can choose one of the preconfigured OpenID Connect Providers