I'm sorry, but the provided knowledge sources do not contain information on how to set a grace period for refresh tokens in Ory. It's important to note that handling token refresh grace periods can add complexity to your system and should be done carefully. For more detailed guidance, I recommend checking the official Ory documentation or reaching out to the Ory community for support.