Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Configure OpenIdServletFilter to authenticate Google Apps accounts
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chuck  
View profile  
 More options Oct 29 2011, 1:53 pm
From: Chuck <chuck.wi...@gmail.com>
Date: Sat, 29 Oct 2011 10:53:17 -0700 (PDT)
Local: Sat, Oct 29 2011 1:53 pm
Subject: Configure OpenIdServletFilter to authenticate Google Apps accounts
Thanks for a great project.

Quick Summary:
How can I configure the OpenIdServletFilter to use the
openid_identifier
https://www.google.com/accounts/o8/site-xrds?hd={DOMAIN_NAME}
where the URI portion of the identifier is only known from the URI of
an incoming HTTP request intercepted by the filter?

More Detailed Version:
I implemented the OpenIdServletFilter on my Google AppEngine domain
for the specific purpose of authenticating Google Apps account users.
This is in preparation for listing my app in the Google Apps
Marketplace.

The Marketplace requires that users will navigate to my site to a
specific URL. On my development server the target URL (which is
filtered by the OpenIdServletFilter) is
http://dev-vantage.appspot.com/app?hd=${DOMAIN_NAME}
where the user's google apps domain name will be autopopulated by
Google in their universal apps navigation scheme.  My task is to
authenticate the user in my site using OpenID without the user
encountering any prompts along the way.

So far, I've reached the point where if the user goes directly to the
URL
http://dev-vantage.appspot.com/app?openid_identifier=https://www.goog...{DOMAIN_NAME}
the authentication occurs properly using any authentic Goggle apps
domain name.  So, to finish up I need to figure out how to configure
the servlet filter to
1. strip the URI from an unauthenticated user's first request in order
to learn the user's Google Apps domain name
2. use that domain name to construct the full openid_identifier
parameter, including the required URI: hd=${DOMAIN_NAME}

Any help would be greatly appreciated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »