mod_auth_openid icon indicating copy to clipboard operation
mod_auth_openid copied to clipboard

Redirect to remove openid.ax.mode=fetch_response GET arguments

Open docwhat opened this issue 13 years ago • 2 comments

It would be a lot prettier if mod_auth_openid redirected to remove the openid.ax.mode=fetch_response GET arguments. They make the bookmarks, etc. behave weird immediately after logging in.

Example:

https://example.com/?openid.ax.mode=fetch_response&openid.ax.type.email=http%3A%2F%2Fopenid.net%2Fschema%2Fcontact%2Finternet%2Femail&openid.ax.value.email=user%40example.com&openid.ns.ax=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&application_argument=foobar

...should be redirected to...

https://example.com/?application_argument=foobar

Ciao!

docwhat avatar Nov 19 '12 16:11 docwhat

Hi docwhat,

I've been using mod_rewrite to do this with the condition looking at %{QUERY_STRING}.

Cheers

timkent avatar Sep 02 '13 00:09 timkent

@timkent

How do you do that without losing any other get arguments of interest?

Do you have an example?

It still seems like mod_auth_openid is the "authoritative" source of what can be safely stripped...

Ciao!

docwhat avatar Sep 03 '13 20:09 docwhat