Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
067da622
Commit
067da622
authored
Nov 10, 2016
by
Brian Neel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix shibboleth misconfigurations resulting in authentication bypass
parent
a3fd8521
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
changelogs/unreleased/fix-shibboleth-auth-with-no-uid.yml
changelogs/unreleased/fix-shibboleth-auth-with-no-uid.yml
+4
-0
config/initializers/devise.rb
config/initializers/devise.rb
+4
-0
No files found.
changelogs/unreleased/fix-shibboleth-auth-with-no-uid.yml
0 → 100644
View file @
067da622
---
title
:
fix shibboleth misconfigurations resulting in authentication bypass
merge_request
:
7428
author
:
config/initializers/devise.rb
View file @
067da622
...
@@ -254,6 +254,10 @@ Devise.setup do |config|
...
@@ -254,6 +254,10 @@ Devise.setup do |config|
end
end
end
end
if
provider
[
'name'
]
==
'shibboleth'
provider
[
'args'
][
:fail_with_empty_uid
]
=
true
end
# A Hash from the configuration will be passed as is.
# A Hash from the configuration will be passed as is.
provider_arguments
<<
provider
[
'args'
].
symbolize_keys
provider_arguments
<<
provider
[
'args'
].
symbolize_keys
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment