本文へ移動
cccskills
無料GitHub で公開日本語紹介

bamboohr-install-auth

BambooHR連携に使うOAuth 2.0またはAPIキーを選び、トークン更新や秘密情報の保管、最小権限、認証テストの設計を支援します。

原文原文の説明を見る

Choose and configure BambooHR OAuth 2.0 or API-key authentication without leaking HR credentials. Use when registering a partner integration, wiring token refresh, or repairing tenant authentication. Trigger with "BambooHR auth", "BambooHR OAuth", "BambooHR API key", or "BambooHR token refresh".

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 連携方式に合う認証方法を選びたいとき
  • OAuthのコールバックとトークン更新を設計したいとき
  • APIキーの専用ユーザーと更新手順を整えたいとき
  • テナント認証の不具合を調査したいとき

日本語での紹介

できること

BambooHR連携の用途に応じて、OAuth 2.0とAPIキーのどちらを使うか整理し、認証の設定方針を作ります。OAuthではリダイレクトURI、stateの照合、サーバー側でのコード交換、テナントごとに分けた暗号化トークン保管、更新と再認証の扱いを検討します。APIキーでは必要な権限だけを持つ専用ユーザー、秘密情報の保管場所、ローテーションと失効の手順を整えます。会社情報などの低機密な読み取りで認証を確認する方法や、無効なstate、期限切れトークン、別テナントなどのテストも計画します。

こんなときに便利

パートナー向けの複数テナント連携を登録するとき、社内ツールの認証を用意するとき、トークン更新やテナント認証の不具合を見直すときに役立ちます。資格情報をログやソースコードに露出させない設計にも使えます。

使い方の例

  • 「複数テナント向けBambooHR連携のOAuth設計を整理して」
  • 「社内用連携のAPIキーに必要な権限とローテーション手順をまとめて」
  • 「期限切れトークンを含む認証テストを計画して」

注意点

OAuthアプリ登録、リダイレクトURI変更、APIキー作成・更新、デプロイ用秘密情報の書き込み、本番テナントでのテストには明示的な承認が必要です。認証情報そのものは出力せず、SDKの配布状況も導入前に確認します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(2)

  • SKILL.md4.7 KB
  • references/official-docs.md3.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

BambooHR Authentication Setup

Overview

Configure the narrowest BambooHR identity that fits the integration. OAuth 2.0 is BambooHR's recommended path for partner integrations. An API key is suitable for an internal tool or prototype when its owning user's permissions and key lifecycle are acceptable.

Prerequisites

  • The target repository or integration path and the requested operator outcome.
  • The tenant, identity, and data scope only when approved live work is in scope.
  • The current evidence register plus customer-specific permissions and agreements.

Current Contract

  • Tenant API host: https://{company-subdomain}.bamboohr.com.
  • Authorization endpoint: https://{company-subdomain}.bamboohr.com/authorize.php.
  • Token endpoint: POST https://{company-subdomain}.bamboohr.com/token.php?request=token.
  • API-key requests use HTTP Basic authentication with the key as username and x as password.
  • BambooHR's official Python source supports OAuth, refresh, API keys, request IDs, retry controls, and redacted logging. As of 2026-09-11 the documented bamboohr-sdk distribution is not discoverable on public PyPI; verify the registry before installing or use an approved commit pin.

Authentication

For OAuth, register an HTTPS redirect URI, generate a high-entropy state, bind it to the initiating session, and reject callbacks whose state does not match. Exchange the code server-side. Store access token, refresh token, expiry, tenant, subject, and granted scope in an encrypted, tenant-scoped record.

For API keys, create a dedicated BambooHR user with only required field and workflow permissions. Store the key in the deployment secret manager. Never put it in .env.example, logs, shell history, test fixtures, or a client bundle.

Instructions

  1. Identify whether the integration is partner/multi-tenant or internal/single- tenant, and record the authentication decision.
  2. Derive the tenant subdomain from the customer's BambooHR URL; do not accept a full arbitrary host from untrusted input.
  3. For OAuth, implement authorization-code exchange, state validation, encrypted token persistence, rotation, and reauthorization after terminal refresh failure. The SDK does not persist refreshed tokens for the application.
  4. For API keys, assign a dedicated owner, document field permissions, and set a rotation and revocation procedure before use.
  5. Test with a low-sensitivity read such as company information. Capture status and request ID, but discard the response body from evidence.
  6. Exercise invalid-state, expired-token, revoked-key, wrong-tenant, and denied- field cases before production approval.

Tool Discipline

Use Read, Glob, and Grep to inspect existing configuration and secret references. Use Write or Edit only for approved application configuration; write placeholders, never credentials. This skill does not authorize browser consent, credential creation, package installation, or remote secret mutation.

Approval Boundaries

Require explicit approval before registering an OAuth app, changing redirect URIs, creating or rotating an API key, writing a deployment secret, or testing against a production tenant.

Output

Return the chosen auth mode, tenant, requested permissions, callback and token- storage design, test evidence without bodies, key/token owner, rotation plan, and every action still awaiting approval.

Error Handling

  • OAuth callback state mismatch: reject immediately and start a fresh flow.
  • 401: refresh once when configured; otherwise treat the credential as invalid.
  • 403: inspect the BambooHR user's field permissions; do not broaden blindly.
  • Refresh failure: stop bounded retries, preserve the last valid record, and require reauthorization.

Examples

  • "Configure OAuth for our multi-tenant HR connector" selects OAuth and designs tenant-isolated token persistence.
  • "Use this admin's API key in production" pauses until a dedicated least- privilege identity and rotation owner exist.

Resources

Read official evidence before implementation.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

abridge-ci-integration

無料概要あり

Abridge連携コードのCIに合成データを使った回帰チェックを加え、同意状態、ノート確認、ログの秘匿、ロールバックなど顧客側の処理を検証します。

  • Abridge連携の回帰テストを追加したいとき
  • 同意やノート確認の処理を検証したいとき
  • ログに機微情報が出ないか確かめたいとき
jeremylongshore/tons-of-skills-marketplace2,8712026年10月26日 更新

abridge-common-errors

無料概要あり

Abridgeの録音、記録の確認、Epicへの引き渡し、アクセスの不具合を観測情報から切り分け、患者情報を抑えた証拠と担当窓口への引き継ぎ資料を整理するスキル。

  • 録音とアップロード障害の切り分け
  • 記録生成の遅延や編集画面の不具合調査
  • Epic連携障害の担当窓口の特定
jeremylongshore/tons-of-skills-marketplace2,8712026年10月26日 更新

abridge-core-workflow-a

無料概要あり

同意確認から録音、生成メモの根拠確認、編集、最終確定まで、臨床文書作成の手順と確認ポイントを整理するスキルです。

  • 診療メモ作成の手順を導入・監査したいとき
  • 同意から医師の確認までの流れを整理したいとき
  • 下書きの根拠確認と停止条件を定めたいとき
jeremylongshore/tons-of-skills-marketplace2,8712026年10月26日 更新

abridge-core-workflow-b

無料概要あり

Abridgeで臨床家が確認した記録内容が、承認済みの手順でEpicの適切なテンプレート欄へ渡るか、テスト記録を使って対応関係や例外を検証するスキルです。

  • AbridgeとEpicの記録欄の対応を確認したいとき
  • 部門ごとの連携設定を監査したいとき
  • 承認済みテスト記録で連携を検証したいとき
jeremylongshore/tons-of-skills-marketplace2,8712026年10月26日 更新

abridge-cost-tuning

無料概要あり

Abridgeの導入・更新判断に向け、利用定着率や業務の完了状況、診療記録の品質、支援負担を契約に基づく費用情報と照らし、継続や改善の選択肢を整理するスキル。

  • Abridge導入後の定着率確認
  • 契約更新の判断材料をまとめたいとき
  • 診療環境ごとの業務成果の比較
jeremylongshore/tons-of-skills-marketplace2,8712026年10月26日 更新

abridge-debug-bundle

無料概要あり

Abridgeの障害調査で、録音や診療記録を含めず、許可した項目だけを集めたサポート用資料と確認用マニフェストを作成します。

  • 障害サポート用の証拠をまとめたいとき
  • 共有資料の除外項目を記録したいとき
  • 調査情報を安全な経路で引き継ぎたいとき
jeremylongshore/tons-of-skills-marketplace2,8712026年10月26日 更新

jeremylongshore のスキルをすべて見る

このスキルの問題を報告する