2LO and user passwords

23 views
Skip to first unread message

Jagot

unread,
Dec 6, 2011, 4:22:43 AM12/6/11
to google-app...@googlegroups.com
Is it possible to use 2LO in a Java App Engine application to access user information and to reset the user's password?

I have been trying the AppsForYourDomainClient and it does not support 2LO properly. I can use 2LO to read user information after allowing the scope in my domain but I can reset user information unless I use the admin username and password.

I trying to create an application that would use 2LO to access and modify the password for a user without the user's credentials.

Any help/code assistance will be appreciated in advance.

Shraddha Gupta

unread,
Dec 6, 2011, 9:40:52 AM12/6/11
to google-app...@googlegroups.com
Hello Jagot,

You cannot modify the user details with the 2LO, you have to use 3LO for it.
You can use your admin credentials client_id and client_secret for 3LO, and not use the username password.
The write access in the Provisioning API is given only by 3LO.

thanks,
Shraddha Gupta
Developer Programs Engineer
Hyderabad, Google India.



--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/6vQlsOoqTMwJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Jagot

unread,
Dec 7, 2011, 4:21:01 AM12/7/11
to Google Apps Domain Information and Management APIs
Thanks Shraddha,

Is there any examples that you can point me to?
Btw, I like the python 2LO example code that you put together- easy to
understand. Thank you.

Regards,
Jagot

Shraddha Gupta

unread,
Dec 7, 2011, 10:25:32 AM12/7/11
to google-app...@googlegroups.com
Hi Jagot,

Its great that you liked the python sample. We are glad that the samples are helpful.
You can find the 3LO example for java at:

Thanks,

Shraddha Gupta
Developer Programs Engineer
Hyderabad, Google India.



--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
Reply all
Reply to author
Forward
0 new messages