ITA received but IELTS about to expire

Dear Community.

I have received ITA, however, my IELTS scores will expire in two weeks.

Apparently, I still have 90 days to submit an application, however, if my IELTS scores expire in the mean time, will my application be revoked automatically?

or

Can I continue the application to accept the invitation, and then write the IELTS in the mean time?

Please let me know.

Thank You.