mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #13145 from overleaf/jk-add-log-for-saml-error
[web] Add a log line for SAML errors GitOrigin-RevId: f15370b4fe5205836d8b3818d2eda210259ce36c
This commit is contained in:
parent
a06118b96d
commit
c76e823c14
1 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,13 @@ function log(req, data, samlAssertion) {
|
||||||
if (data.error.tryAgain) {
|
if (data.error.tryAgain) {
|
||||||
errSerialized.tryAgain = data.error.tryAgain
|
errSerialized.tryAgain = data.error.tryAgain
|
||||||
}
|
}
|
||||||
|
logger.error('SAML Error Encountered', {
|
||||||
|
providerId,
|
||||||
|
sessionId,
|
||||||
|
userId,
|
||||||
|
path,
|
||||||
|
query,
|
||||||
|
})
|
||||||
data.error = errSerialized
|
data.error = errSerialized
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue