I have a desktop application which sends email from Gmail using SMTP.
Since Less secure Apps will not longer be supported, I am trying to use Google API with OAuth2. Is there any other way I can use to send email from Gmail accounts?
Also, if I use Google API with OAuth2 can we configure the client ID and client secret generated from Admin Gmail account and use the same for all the other users for authorization?
I am following this tutorial: https://www.youtube.com/watch?v=44ERDGa9Dr4
Thanks in advance!