grant-management

Manage authorization grants and consent claims via REST APIs.

7|1|Updated Feb 12, 2023
One-click install
npx skills add https://github.com/hirokazu-kobayashi-koba-hiro/idp-server --skill grant-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grant-management
Source: https://github.com/hirokazu-kobayashi-koba-hiro/idp-server/tree/main/.claude/skills/grant-management
Command: npx skills add https://github.com/hirokazu-kobayashi-koba-hiro/idp-server --skill grant-management

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Grant management centralizes and streamlines the lifecycle of authorization grants, including creation, persistence, consent handling, and revocation across multiple flows.

Core Features & Use Cases

  • AuthorizationGrant: a composite model tying user, authentication, client, scopes, and consent.
  • AuthorizationGranted: persistent representation of grants with createdAt and updatedAt for auditability.
  • ConsentClaims: management of user consents and claims per scope.
  • Scope-based consent: per-client scope records to accurately enforce permissions.
  • Grant management API: endpoints for listing, detailing, and revoking grants at the organization level.

Use cases include admin review of active grants, bulk revocation, and auditing consent across tenants.

Quick Start

Run and integrate the grant management module to verify the listing and revocation endpoints in your IdP deployment.

Frequently Asked Questions about grant-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage authorization grants and consent revocation across multiple tenants?

Authorization grant management centralizes the lifecycle of grants, including consent handling and revocation across multiple flows. It exposes a REST API for organization-level oversight, enabling admin review, bulk revocation, and auditing.

What is scope-based consent and how does it enforce per-client permissions in OIDC flows?

Scope-based consent tracks per-client scope records to accurately enforce permissions. It operates within OIDC flows by managing ConsentClaims, tying user authentication and client applications to specific scopes for precise authorization control.

How do I list and revoke active user consents using an organization-level grant management API?

You can list and revoke active user consents using the organization-level grant management API. This REST API provides endpoints for detailing and revoking grants, allowing administrators to oversee and terminate active client permissions.

Does this grant management approach support auditing consent with persistent timestamps?

Yes, the grant management approach supports auditing consent through the AuthorizationGranted model. It provides a persistent representation of grants with createdAt and updatedAt timestamps, ensuring full auditability of the authorization lifecycle.

Can I use this to handle bulk grant revocation and admin review for an IdP deployment?

Yes, you can use this to handle bulk grant revocation and admin review for an IdP deployment. It manages per-user and per-client grants, allowing administrators to efficiently review active grants and execute bulk revocation across tenants.