Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add query facility for client management servlet #154

Closed
jjg-123 opened this issue Jan 3, 2024 · 1 comment
Closed

Add query facility for client management servlet #154

jjg-123 opened this issue Jan 3, 2024 · 1 comment

Comments

@jjg-123
Copy link
Contributor

jjg-123 commented Jan 3, 2024

A scenario that has popped up a few times is that an admin wants to register clients, but has no way to determine if their requests for various lifetimes make sense. The well -known page does not have these. I propose allowing a query to GET that will return server defaults, so

https://.../oidc-cm?query=org.oa4mp:/server/defaults

returns something like

{
  at_lifetime:1009,
  id_token_lifetime:900,
  rt_lifetime:1296000,
  max_at_lifetime:19600,
  max_rt_lifetime:2592000,
  auth_grant_lifetime:750,
  max_id_token_lifetime:1800,
  rtGracePeriod:3600
 }

(all in seconds) allowing admins to make sane requests.

@jjg-123
Copy link
Contributor Author

jjg-123 commented Mar 20, 2024

See https://oa4mp.org/server/manuals/dynamic-client-registration.html#get_defaults which is the section "getting server defaults"

@jjg-123 jjg-123 closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant