Closed odf closed 13 years ago
Btw, I catch errors using the request.getParameter("openid.error") method or any thrown exception.
Also, for rare cases when the OpenID session is still active but the Nesstar session is inactive, I will need the URL of the logout servlet. E.g i use
Please <a href="<%=OPENID_URL%>/logout.jsp?return_url=<%=url%>">Logout</a> first.
So would it be possible to pass a return url to the logout to bounce back to?
Steve: you should be able to do the except same thing, just with /logout
instead of /logout.jsp
. I've modelled the logout process on what you did for joid, including the return_url
parameter.
The change was made a while ago and seems to work fine.
The UsersController#show currently does two very separate things, displaying user details if used interactively and pointing to an xrds page with service information when used during OpenID discovery. This leads to strange errors and complicated code, so we should use a separate method 'discover' or 'openid' for this purpose. Maybe it would be even better to use a separate controller for OpenID-related actions?