dex/server
Alastair Houghton 9187aa669d fix: allow Authorization header when doing CORS
The Authorization header needs to be allowed when doing CORS because
otherwise /userinfo can't work.  It isn't one of the headers
explicitly allowed by default by Gorilla, so we have to call
handlers.AllowedHeaders() to specify it.

Issues: #1532
Signed-off-by: Alastair Houghton <alastair@alastairs-place.net>
2020-10-05 15:01:54 +01:00
..
internal regenerate protobuf code 2019-07-31 08:16:18 +02:00
api.go Add v2 api module 2020-07-01 14:20:57 +02:00
api_test.go Add v2 api module 2020-07-01 14:20:57 +02:00
deviceflowhandlers.go Cleaned up Device Flow test log levels 2020-07-21 16:01:08 -04:00
deviceflowhandlers_test.go Cleaned up Device Flow test log levels 2020-07-21 16:01:08 -04:00
doc.go initial commit 2016-07-26 15:51:24 -07:00
handlers.go abort connector login if connector was already set #1707 2020-08-29 17:19:14 +02:00
handlers_test.go abort connector login if connector was already set #1707 2020-08-29 17:19:14 +02:00
oauth2.go gofmt 2020-07-08 16:25:06 -04:00
oauth2_test.go Use connector_id param to skip directly to a specific connector 2019-07-22 10:47:11 -05:00
rotation.go *: fix some lint issues 2019-07-30 11:29:08 +02:00
rotation_test.go Remove the logrus logger wrapper 2019-02-22 21:31:46 +01:00
server.go fix: allow Authorization header when doing CORS 2020-10-05 15:01:54 +01:00
server_test.go Fixes based on PR comments. 2020-07-14 10:13:37 -04:00
templates.go Merge pull request #1690 from flant/fix-relative-url 2020-09-29 19:47:38 +02:00
templates_test.go Fix templates with asset paths that point to external URL 2020-07-06 12:02:39 +04:00