All i wanted to do is to implement Single Sign On, for users with google apps on custom domain. Eg. startup.com has configured their domain, by purchasing google apps for business for their domain. They have gmail address configured at users@startup.com.

I have a django app. Now in case i want to implement SSO for custom google apps domain, i have couple of options:

  1. Hybrid Open ID + OAuth + SSO
  2. Custom OAuth + SSO.

The documentation for 1. is quite ample and they have shown it. How about going 2nd way, since i just wanted to log the users with their email ids. I could do it with OAuth as well. How good is it to implement SSO + OAuth together? Are there any good libraries that help me doing it?

有帮助吗?

解决方案

This takes care of what you are looking for: https://github.com/simul14/django-googleappsauth

其他提示

Take a look at django-social-auth it allows you to use both OpenID and OAuth with Google which should help with you issue.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top