Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
perun-proxy-utils
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Perun
Perun ProxyIdP
perun-proxy-utils
Commits
13ba531f
Verified
Commit
13ba531f
authored
1 year ago
by
Jan Pavlíček
Browse files
Options
Downloads
Patches
Plain Diff
fix: check_saml totp form detection, response message with --skip_logout_check argument
parent
227b8eee
No related branches found
No related tags found
1 merge request
!42
fix: check_saml totp form detection, response message with --skip_logout_check argument
Pipeline
#311908
passed
1 year ago
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
perun/proxy/utils/nagios/check_saml.py
+6
-6
6 additions, 6 deletions
perun/proxy/utils/nagios/check_saml.py
with
6 additions
and
6 deletions
perun/proxy/utils/nagios/check_saml.py
+
6
−
6
View file @
13ba531f
...
...
@@ -315,7 +315,7 @@ class SAMLChecker:
print
(
response_html
)
# MFA
if
"
TOTP
"
in
response_html
or
"
privacy
IDEA
"
in
response_html
:
if
"
totp
"
in
response_html
.
lower
()
or
"
privacy
idea
"
in
response_html
.
lower
()
:
if
self
.
args
.
verbose
>=
1
:
print
(
"
MFA is required
"
)
totp_form_action
,
totp_form_data
=
parse_form
(
response_html
)
...
...
@@ -521,11 +521,11 @@ class SAMLChecker:
"
CRITICAL
"
,
)
self
.
finish
(
"
Authentication took {:.2f} seconds
"
.
format
(
elapsed_seconds
),
status
,
auth_time
=
elapsed_seconds
,
)
self
.
finish
(
"
Authentication took {:.2f} seconds
"
.
format
(
elapsed_seconds
),
status
,
auth_time
=
elapsed_seconds
,
)
def
__init__
(
self
,
args
):
self
.
args
=
args
...
...
This diff is collapsed.
Click to expand it.
Jednotné přihlášení test
@9008807
mentioned in commit
f592aa43
·
1 year ago
mentioned in commit
f592aa43
mentioned in commit f592aa4313a72855cced9fcfcccf286dd8ef9f70
Toggle commit list
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