Hello.
I have a desktop app, made with B4J, that reads e-mails from a Gmail address. It's a sort of Email Software.
The app is able to do this because in the Gmail account the "Less secure app access" setting is set to ON.
If I set it to OFF, the app cannot access and it gives to me the following error: "(RuntimeException) java.lang.RuntimeException: Error during login: -ERR [AUTH] Username and password not accepted".
My problem is that Google say they "will automatically turn this setting OFF if it’s not being used" and "on May 30, 2022, this setting will no longer be available".
So after May 30 probably they will turn it OFF and I will not be able to turn it ON again.
Google say that to continue signing in the account, my app should use "Sign in with Google" or "OAuth 2.0". How can I do this?
Thanks a Lot.
I have a desktop app, made with B4J, that reads e-mails from a Gmail address. It's a sort of Email Software.
The app is able to do this because in the Gmail account the "Less secure app access" setting is set to ON.
If I set it to OFF, the app cannot access and it gives to me the following error: "(RuntimeException) java.lang.RuntimeException: Error during login: -ERR [AUTH] Username and password not accepted".
My problem is that Google say they "will automatically turn this setting OFF if it’s not being used" and "on May 30, 2022, this setting will no longer be available".
So after May 30 probably they will turn it OFF and I will not be able to turn it ON again.
Google say that to continue signing in the account, my app should use "Sign in with Google" or "OAuth 2.0". How can I do this?
Thanks a Lot.