Remove wifi password

I have an app that connect to specific wifi but the macos always save password while i do not want user to remember the password. Anyway to stop or work around on it?

Please explain what API you’re using to join the network in the first place.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

i am using .associate of CWInterface to join the network. I have tried to use SecItemDelete to delete the password but it still able to connect without entering password.

Remove wifi password
 
 
Q