The discovery connect URL information is set to be out of sync

I set the discovery connect URL. After clicking login, I will jump to the URL I set to log in. However, after successful login, the information is not synchronized to discovery. How can I solve this problem?