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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
cf9b7897
Commit
cf9b7897
authored
Nov 08, 2018
by
James Edwards-Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Utils::Override from Strategies::GroupSaml
parent
5f138cdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ee/lib/omni_auth/strategies/group_saml.rb
ee/lib/omni_auth/strategies/group_saml.rb
+4
-0
No files found.
ee/lib/omni_auth/strategies/group_saml.rb
View file @
cf9b7897
module
OmniAuth
module
OmniAuth
module
Strategies
module
Strategies
class
GroupSaml
<
SAML
class
GroupSaml
<
SAML
extend
::
Gitlab
::
Utils
::
Override
option
:name
,
'group_saml'
option
:name
,
'group_saml'
option
:callback_path
,
->
(
env
)
{
callback?
(
env
)
}
option
:callback_path
,
->
(
env
)
{
callback?
(
env
)
}
override
:setup_phase
def
setup_phase
def
setup_phase
if
metadata_phase?
if
metadata_phase?
require_discovery_token
require_discovery_token
...
@@ -22,6 +25,7 @@ module OmniAuth
...
@@ -22,6 +25,7 @@ module OmniAuth
# Prevent access to SLO endpoints. These make less sense at
# Prevent access to SLO endpoints. These make less sense at
# group level and would need additional work to securely support
# group level and would need additional work to securely support
override
:other_phase
def
other_phase
def
other_phase
if
metadata_phase?
if
metadata_phase?
super
super
...
...
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