After signing out iCloud on my MacBook Pro I cannot sign in to iCloud again it's telling me that my password wasn't correct
I'm trying to sign in to iCloud on MacBook Pro running macOS Mojave but it's telling me that my password was incorrect. But I can use the same password to sign in to iCloud on Safari.
What should I do in this issue?
MacBook Pro 15", macOS 10.14