← All plugin changes

sm-oauthserver-plugin 0.1.7

v0.1.72 min readPlugins

Highlights

  • Revoking an app now always sticks. Removing an app from the authorized apps page (or a ban or password change) could be undone by a sign-in or token refresh that was in flight at the same moment. Every grant flow now waits for a revoke in progress, so a revoke lands either before or after it, never in the middle.

Fixed

  • MCP consent: allowing an MCP client while the same user revokes it could re-create the consent, so the next connect was approved silently. Issuing the authorization code and saving the consent now commit together, and if saving the consent fails the code is rolled back and the request can be allowed again.
  • OIDC sign-in without the consent screen: a revoke landing during a returning user's sign-in could leave a working authorization code with no consent behind it, giving the app tokens that the authorized apps page did not list and could not revoke.
  • OIDC token refresh: tokens issued by a refresh running during a revoke survived the revoke. The ban and password change cascade had the same gap.
  • OIDC code exchange: exchanging a code while the same app was being revoked could deadlock, so one of the two answered with a server error.

Changed

  • Requires SummerCMS v0.6.0, as before. No configuration change and no migration.
Subscribe via RSS