Skip to content

Commit

Permalink
overrite the expiry time in config
Browse files Browse the repository at this point in the history
  • Loading branch information
mkangia committed Sep 7, 2024
1 parent 3db3a9f commit bb681c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions superset_config.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
}
]

OAUTH2_TOKEN_EXPIRES_IN = {
'client_credentials': 3600 # seconds; override default 86400 which is 10 day to 1 hour
}

# Will allow user self registration, allowing to create Flask users from
# Authorized User
AUTH_USER_REGISTRATION = True
Expand Down

0 comments on commit bb681c1

Please sign in to comment.