File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -405,16 +405,17 @@ apr_byte_t oidc_refresh_access_token_before_expiry(request_rec *r, oidc_cfg_t *c
405405
406406 t_expires = oidc_session_get_access_token_expires (r , session );
407407 if (t_expires <= 0 ) {
408- oidc_warn (r , "no access token expires_in stored in the session (i.e. returned from in the "
409- "authorization response), so cannot refresh the access token based on TTL requirement" );
408+ oidc_warn (
409+ r , "no access token expires_in stored in the session (i.e. returned from the OP in the "
410+ "authorization response), so the access token cannot be refreshed based on the TTL requirement" );
410411 return FALSE;
411412 }
412413
413414 // NB: this fails early: when no refresh token was returned, an error will be returned on
414415 // the first authenticated request, unrelated to the actual access token expiry timestamp
415416 if (oidc_session_get_refresh_token (r , session ) == NULL ) {
416- oidc_warn (r , "no refresh token stored in the session, so cannot refresh the access token based on TTL "
417- " requirement" );
417+ oidc_warn (r , "no refresh token stored in the session, so the access token cannot be refreshed based on "
418+ "the TTL requirement" );
418419 return FALSE;
419420 }
420421
You can’t perform that action at this time.
0 commit comments