cedadev / djcharme

CHARMe project node
0 stars 2 forks source link

Requesting secured URIs should result in redirect to authentication endpoint #21

Closed philipkershaw closed 9 years ago

philipkershaw commented 10 years ago

Currently, if a secured URI is accessed a short message is displayed in the HTTP response with the URI to the authentication endpoint. Instead, the required behaviour is that the security middleware should automatically redirect the client to the authentication endpoint. The latter is a login form. This page itself should give a HTTP 401 Unauthorized response. This will enable non-browser based clients to trap the fact that an authentication step is needed.

antony-wilson commented 9 years ago

this was fixed in iteration 4