You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-5
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ http {
128
128
client_id = "<client_id>",
129
129
client_secret = "<client_secret>",
130
130
-- o If token_endpoint_auth_method is set to "private_key_jwt" authentication to Token endpoint is using client_id, client_rsa_private_key and client_rsa_private_key_id to compute a signed JWT
131
-
-- client_rsa_private_key is the RSA private key to be used to sign the JWT generated by lua-restu-openidc for authentication to the OP
131
+
-- client_rsa_private_key is the RSA private key to be used to sign the JWT generated by lua-resty-openidc for authentication to the OP
132
132
-- client_rsa_private_key_id (optional) is the key id to be set in the JWT header to identify which public key the OP shall use to verify the JWT signature
-- Computation of RSA signature is far more time-consuming than simply using a client_secret for the other authentication modes. In order to counter-balance the performance decrease,
141
-
-- the signed JWT generated for authentication to the OP are cached for reuse. Default life duration of the JWT in the cache is 1 hour but can be overwritten. Value of 0 means: not cached.
142
-
--client_jwt_assertion_expires_in = 60 * 60, -- 1h, expressed in seconds
143
-
-- Note that the signed JWT tokens for authentication to the OP have an expiration that is 60 seconds after the expected cache life time.
140
+
-- Life duration expressed in seconds of the signed JWT generated by lua-resty-openidc for authentication to the OP.
141
+
-- (used when token_endpoint_auth_method is set to "private_key_jwt" authentication). Default is 60 seconds.
142
+
--client_jwt_assertion_expires_in = 60,
144
143
-- When using https to any OP endpoints, enforcement of SSL certificate check can be mandated ("yes") or not ("no").
localexptime=opts.client_jwt_assertion_expires_inor60*60-- expiration of the assertion in the cache
398
-
localjwt_validity=60-- assertion is valid for 60 seconds after its expiration: assuming the check by the OP will not be done later than 60 sec after the assertion retrieval.
0 commit comments