A few features
abuter - September 20, 2007 - 18:41
| Project: | Google Apps Authentication |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | ssnider |
| Status: | active |
Description
A couple of features which I would like added. I have each of these working on my install of googleauth
- Automatic sign-in: Do not require the user to click the button on sign-in.
This is accomplished by adding<script type="text/javascript">document.acsForm.submit();</script>to the end of $true_output - Redirect to login: Do not require a user to be logged into Drupal before attempting to access Google Apps
This is accomplished using a little more logic than the first feature. The summary is to store the incoming GET variables and redirect to the login page and indicate that we will be redirecting to Goggle Apps. After login, restore the values and redirect.
I have full source for both of these features if it helps.

#1
If you get me the source, and it works, I'll commit it.
#2
I have attached my current module. Rename to googleauth.module
It includes the forementioned functionality, as well as forcing sign-out from Drupal on sign-out from Google Apps.
The only other thing that I wanted to work on at this point was forcing sign-out from Google Apps on sign-out from Drupal.
#3
The attached update includes login/logout restriction based on the 'use googleauth' access, and single-sign-out.
I also removed the --pubkey-der flag to xmlsec, as it is optional and did not work on my install of xmlsec