Hello André,
we tested it and experience the same result, so we can confirm this is a critical bug.
Test curl commands and results:
1. Authentication with PKI
curl --ssl-auto-client-cert -v -k -i -c cookies.txt -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/json" -X POST https://my.domain/pkmslogin.form
2. get Authorization Code
curl -v -k -i -b cookies.txt -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/json" -X POST "https://my.domain/mga/sps/oauth/oauth20/authorize?client_id=test&response_type=code&scope=openid&nonce=noncess&state=state&redirect_uri=https://dummy-test
3. get Access Token + Refresh Token + id_token
curl -v -k -i -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/json" -d "client_id=test&client_secret=secret&grant_type=authorization_code&code=PqWXvnvvCqYE50C8vowfhmMrsYv4Up&redirect_uri=https://dummy-test" https://my.domain/mga/sps/oauth/oauth20/token
{"access_token":"oiCt5aQSbHJhRMV1l5S7","refresh_token":"QlkGusKQwHYP2kM91h4MA3zqUrZA2lRqVoQK9Kei","scope":"openid","id_token":"eyJr...
4. Check Refresh token lifetime:
curl -k --data "client_id=test&client_secret=secret&username=myuser&token=QlkGusKQwHYP2kM91h4MA3zqUrZA2lRqVoQK9Kei" https://my.domain/mga/sps/oauth/oauth20/introspect
{"sub":"myuser","scope":"openid","active":true,"token_type":"refresh_token","exp":1765302190,"iat":1765265507,"client_id":"test","username":"myuser"}
5. Refresh token
curl -i -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=refresh_token&refresh_token=QlkGusKQwHYP2kM91h4MA3zqUrZA2lRqVoQK9Kei&client_id=test&client_secret=secret" https://my.domain/mga/sps/oauth/oauth20/token
{"access_token":"kGtL2DlS81zEM19EYmxC","refresh_token":"HPv03xGeNw2OHqjnSO8q1wkMJD1OVCwsTfo3tS3M","scope":"openid","id_token":"eyJraWQ...
6.A Check Refresh token lifetime:
curl -k --data "client_id=test&client_secret=secret&username=myuser&token=QlkGusKQwHYP2kM91h4MA3zqUrZA2lRqVoQK9Kei" https://my.domain/mga/sps/oauth/oauth20/introspect
{"sub":"myuser","scope":"openid","active":true,"token_type":"refresh_token","exp":1765302190,"iat":1765265507,"client_id":"test","username":"myuser"}
6.B Check Refresh token lifetime:
curl -k --data "client_id=test&client_secret=secret&username=myuser&token=HPv03xGeNw2OHqjnSO8q1wkMJD1OVCwsTfo3tS3M" https://my.domain/mga/sps/oauth/oauth20/introspect
{"sub":"myuser","scope":"openid","active":true,"token_type":"refresh_token","exp":1765302190,"iat":1765265625,"client_id":"test","username":"myuser"}
------------------------------
Gyula Domonkos
------------------------------