diff options
author | John Estabrook <jestabro@vyos.io> | 2022-10-23 11:08:19 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-10-25 10:35:48 -0500 |
commit | dc37f30a1273c1d3b7949b1d64e60d37da3b9fd4 (patch) | |
tree | 41a8d17d89117b5e7553e3b2999a2fb9ab8e8e32 /src/services/vyos-http-api-server | |
parent | 28676844e3f4317786e457fcd8651939a05c88ff (diff) | |
download | vyos-1x-dc37f30a1273c1d3b7949b1d64e60d37da3b9fd4.tar.gz vyos-1x-dc37f30a1273c1d3b7949b1d64e60d37da3b9fd4.zip |
graphql: T4574: set token expiration time in claims
Diffstat (limited to 'src/services/vyos-http-api-server')
-rwxr-xr-x | src/services/vyos-http-api-server | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server index 840041b73..4af27b949 100755 --- a/src/services/vyos-http-api-server +++ b/src/services/vyos-http-api-server @@ -698,6 +698,7 @@ if __name__ == '__main__': app.state.vyos_introspection = False # default value is merged in conf_mode http-api.py, if not set app.state.vyos_auth_type = server_config['graphql']['authentication']['type'] + app.state.vyos_token_exp = server_config['graphql']['authentication']['expiration'] else: app.state.vyos_graphql = False |