Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
103fe48d
Commit
103fe48d
authored
Jan 19, 2021
by
Mihai Patrascoiu
Browse files
Log the access token expiration time after refresh operation
parent
dcbe8b8a
Pipeline
#2242431
passed with stage
in 2 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/fts3rest/fts3rest/lib/IAMTokenRefresher.py
View file @
103fe48d
...
...
@@ -99,7 +99,7 @@ class IAMTokenRefresher(Thread):
for
credential
in
credentials
:
try
:
credential
=
oidc_manager
.
refresh_access_token
(
credential
)
log
.
debug
(
'OK refresh_access_token
'
)
log
.
debug
(
'OK refresh_access_token
(exp=%s)'
%
str
(
credential
.
termination_time
)
)
Session
.
merge
(
credential
)
Session
.
commit
()
except
Exception
as
ex
:
...
...
Joao Pedro Lopes
@batistal
mentioned in commit
fts-rest-flask@1ade1e3d
·
Oct 12, 2021
mentioned in commit
fts-rest-flask@1ade1e3d
mentioned in commit fts-rest-flask@1ade1e3dc5eccd88058a033140423cd6cf7454b8
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment