Skip to content

Commit

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

# override expiry time for a specific grant type by
# setting this config
OAUTH2_TOKEN_EXPIRES_IN = {
# 'client_credentials': 3600 # seconds
}

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

0 comments on commit 199f8ef

Please sign in to comment.