Hi @LEVENE, Sylvain (COLAS SA) ,
Thanks for reaching out and apologies for delay in response.
I understand that you are looking to persist AD B2C session for single page applications that uses PKCE code flow.
You can enable KMSI feature for users of your web and native applications who have local accounts in your Azure AD B2C directory. Users can opt to stay signed in, so the session remains active after they close the browser.
As mentioned, SPAs will be issued tokens valid for only 24 hours. After 24 hours, the app must acquire a new authorization code via a top-level frame visit to the login page.
So, after 24 hours you can call authorization endpoint of Azure AD to get the new access and refresh token. This can also be non-interactive flow if the browser has the valid login session.
Hope this will help you.
Please remember to "Accept Answer" if answer helped you.
Thanks,
Shweta