I would say that, while they do sound similar enough in casual usage, they are definitely not the same word.
"Confident" is an adjective that describes someone having the feeling of confidence (i.e. a self-belief); while "a confidant" is a noun that describes a person to whom you might tell a secret (i.e. it is based on the verb to confide).
When spoken aloud, unless emphasised, both will sound like the contracted confidn't (sorry, I haven't studied the pronunciation symbols). Many people—especially those who are aware or observant of its French roots—may increase the emphasis on the -ant part of confidant (and soften the -t), in recognition of those roots.
Now I have looked up an explicit definition of homophone, I would say that the two words do qualify as homophones, in that they are both words that pronounced the same but differ in meaning, derivation or spelling)