android - Validate google apps user's username and password -


i want validate google apps user's username , password custom login page(sso login) using saml protocol.

options tried:

1) google clientlogin library working till april 20, 2015 after deprecated.

2) android play services authentication using url: https://android.clients.google.com/auth. more detailed article

3) connect using smtp. code snippet extracted post:

    username = 'emailsmtplibtest@gmail.com'     password = 'passtest'        from_addr = 'emailsmtplibtest@gmail.com'         server = smtplib.smtp('smtp.gmail.com', 587)     server.ehlo()     server.starttls()     server.login(username,password) 

but not promising user can disable "access less secure apps" fail when use smtp.

is there other way or api validate google apps user's username , password ?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -