This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/server
Frode Nordahl 5d284e08ae Change status code used for redirects from StatusTemporaryRedirect (307) to StatusFound (302)
HTTP code 307 aka. StatusTemporaryRedirect is used throughout the
project. However, the endpoints redirected to explicitly expects
the client to make a GET request.

If a HTTP client issues a POST request to a server and receives a
HTTP 307 redirect, it forwards the POST request to the new URL.

When using 302 the HTTP client will issue a GET request.

Fixes #287
2016-01-23 22:33:53 +01:00
..
admin.go server, integration, cmd: Protect Admin API 2015-10-01 13:15:45 -07:00
auth_middleware.go *: Remove unnecessary else statements 2015-09-04 22:45:32 +03:00
auth_middleware_test.go *: move original project to dex 2015-08-18 11:26:57 -07:00
client_resource.go *: move original project to dex 2015-08-18 11:26:57 -07:00
client_resource_test.go *: move original project to dex 2015-08-18 11:26:57 -07:00
config.go *: allow dexctl set-connector-configs to read from stdin 2016-01-19 08:59:34 -08:00
discovery_resource.go *: move original project to dex 2015-08-18 11:26:57 -07:00
discovery_resource_test.go *: move original project to dex 2015-08-18 11:26:57 -07:00
email_verification.go user: move user manager to it's own package 2015-12-07 15:34:14 -08:00
email_verification_test.go *: move original project to dex 2015-08-18 11:26:57 -07:00
error.go Change status code used for redirects from StatusTemporaryRedirect (307) to StatusFound (302) 2016-01-23 22:33:53 +01:00
error_test.go Change status code used for redirects from StatusTemporaryRedirect (307) to StatusFound (302) 2016-01-23 22:33:53 +01:00
http.go Change status code used for redirects from StatusTemporaryRedirect (307) to StatusFound (302) 2016-01-23 22:33:53 +01:00
http_test.go Change status code used for redirects from StatusTemporaryRedirect (307) to StatusFound (302) 2016-01-23 22:33:53 +01:00
invitation.go user: move user manager to it's own package 2015-12-07 15:34:14 -08:00
invitation_test.go server: endpoint and system for sending invitations to dex 2015-11-18 14:24:19 -08:00
password.go user: move user manager to it's own package 2015-12-07 15:34:14 -08:00
password_test.go server: fix reset password test 2016-01-19 19:45:16 -08:00
register.go server: better UX when remote ID already exists 2015-12-23 17:11:03 -08:00
register_test.go server: better UX when remote ID already exists 2015-12-23 17:11:03 -08:00
serialization.go *: move original project to dex 2015-08-18 11:26:57 -07:00
serialization_test.go *: move original project to dex 2015-08-18 11:26:57 -07:00
server.go Merge pull request #246 from bobbyrullo/maybe 2015-12-23 18:17:54 -08:00
server_test.go refreshtoken: return base64 encoded token for in-memory backend. 2015-10-12 14:51:52 -07:00
testutil.go server: better UX when remote ID already exists 2015-12-23 17:11:03 -08:00
user.go *: move user API auth to middleware and fix return status 2016-01-19 13:49:01 -08:00