IdentityPython/oidcendpoint

Some constants needs to be generalized

peppelinux opened this issue · 1 comments

In https://github.com/IdentityPython/oidcendpoint/blob/master/src/oidcendpoint/endpoint_context.py#L352: ("code", 600), ("token", 3600), ("refresh", 86400) shouldn't be taken from general configuration?

We could do implement something like

get settings (general config) parameters, if any -> take this preset.

It's already this way,
bytheway made get_token_handlers decoupled from do_session_db