]> git.ipfire.org Git - thirdparty/cups.git/commit
More OAuth/OpenID changes for the scheduler:
authorMichael R Sweet <msweet@msweet.org>
Fri, 16 May 2025 22:35:15 +0000 (18:35 -0400)
committerMichael R Sweet <msweet@msweet.org>
Fri, 16 May 2025 22:35:15 +0000 (18:35 -0400)
commitf214077c436236df7ceac9247ed48ddff58a2f4c
tree5c24970272cde81097d1e0c34b3942367e294d80
parentc0ea9cba0ea73ca61671fd9fab026fa3ae7a4029
More OAuth/OpenID changes for the scheduler:

- Instead of treating the bearer token as a JWT, use the userinfo endpoint
  (via cupsOAuthGetUserId) to get the user information and (as a side-effect)
  validate the bearer token.
- Set the verified AuthType when get have a valid token.
- Support OAuth group files relative to the cupsd.conf file.
scheduler/auth.c
scheduler/auth.h
scheduler/conf.c
scheduler/env.c