Are you signed into Creative Cloud?
You may want to open the Adobe Creative Cloud application on your desktop, sign out of the application (and all Adobe applications associated with it, like InDesign), then sign back into the Creative Cloud application. After signing out, then signing back in, go back to InDesign and see if it works once again.
There are other reasons for what you may be experiencing. But scrambled sign-in settings is the most likely cause for your issue. If this doesn't work, let us know. But it fixes the problem so often that I recommend you try this first.
Hope this helps,
Randy