Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
keycloak-proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
keycloak-proxy
Commits
bd6ddd78
Commit
bd6ddd78
authored
Jan 16, 2016
by
Rohith
Browse files
Options
Downloads
Plain Diff
Merge pull request #13 from gambol99/csp_fix
csp policy
parents
8f1b3d8f
1ec5546b
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
build.go
+1
-1
1 addition, 1 deletion
build.go
doc.go
+1
-1
1 addition, 1 deletion
doc.go
handlers.go
+0
-1
0 additions, 1 deletion
handlers.go
main.go
+1
-1
1 addition, 1 deletion
main.go
with
3 additions
and
4 deletions
build.go
+
1
−
1
View file @
bd6ddd78
package
main
const
buildID
=
"v0.0.
5
, git+sha: 81b
7def
"
const
buildID
=
"v0.0.
6
, git+sha: 8
f
1b
3d8
"
This diff is collapsed.
Click to expand it.
doc.go
+
1
−
1
View file @
bd6ddd78
...
...
@@ -27,7 +27,7 @@ import (
const
(
prog
=
"keycloak-proxy"
version
=
"v0.0.
6
"
version
=
"v0.0.
7
"
author
=
"Rohith"
email
=
"gambol99@gmail.com"
description
=
"is a proxy using the keycloak service for auth and authorization"
...
...
This diff is collapsed.
Click to expand it.
handlers.go
+
0
−
1
View file @
bd6ddd78
...
...
@@ -69,7 +69,6 @@ func (r *KeycloakProxy) securityHandler() gin.HandlerFunc {
secure
:=
secure
.
New
(
secure
.
Options
{
AllowedHosts
:
r
.
config
.
Hostnames
,
BrowserXssFilter
:
true
,
ContentSecurityPolicy
:
"default-src 'self'"
,
ContentTypeNosniff
:
true
,
FrameDeny
:
true
,
})
...
...
This diff is collapsed.
Click to expand it.
main.go
+
1
−
1
View file @
bd6ddd78
...
...
@@ -32,7 +32,7 @@ func main() {
kc
:=
cli
.
NewApp
()
kc
.
Name
=
prog
kc
.
Usage
=
description
kc
.
Version
=
buildID
kc
.
Version
=
version
kc
.
Author
=
author
kc
.
Email
=
email
kc
.
Flags
=
getOptions
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment