Hello @Abhay Chandramouli , the Azure AD B2C KMSI (keep me signed in) checkbox state is available only during interactive authentication requests. Requesting new tokens using a refresh token is done in a non-interactive way and thus will always return a false
value for the aforementioned KMSI claim.
One potential woraround would involve adding a refresh token journey to your Custom Policy, passing the original issued token (with the KSMI claim set to true) as a query param, read it using claims resolvers, decoding it using a custom API and outputing the original KSMI value.
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.