incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Cooley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-846) Redirect on a failed login attempt
Date Sat, 07 Aug 2010 22:36:16 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Cooley updated COUCHDB-846:
--------------------------------

    Attachment: 0001-POST-to-_session-now-redirects-to-the-URI-given-in-t.patch

Patch adds support for specifying a redirect in the 'fail' member of the query string.

Usage:
POST 'name={username}&password={passsword}' to
_session?next=/redirect/here/on/success&fail=/redirect/here/on/fail

Tests included.

> Redirect on a failed login attempt
> ----------------------------------
>
>                 Key: COUCHDB-846
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-846
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: HTTP Interface
>    Affects Versions: 1.0
>            Reporter: Matt Cooley
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: 0001-POST-to-_session-now-redirects-to-the-URI-given-in-t.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> On a successful login (POST to _session), CouchDB will redirect the user to the URI specified
in the 'next' query parameter. This is useful for adding authentication to applications that
can't rely on javascript being enabled on the client. To make this functionality more useful,
there should be a complimentary 'fail' redirect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message