Skip to content

Commit 93a0e9b

Browse files
shariqshariq
authored andcommitted
Fix Homebrew config: move token inside repository block (GoReleaser v2)
Also clean up the brew formula description. Made-with: Cursor
1 parent 175ed23 commit 93a0e9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ brews:
4646
owner: authlete
4747
name: homebrew-tap
4848
branch: main
49-
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
49+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
5050
homepage: "https://github.com/authlete/authlete-cli"
51-
description: "Authlete API: Welcome to the **Authlete API documentation**. Authlete is an **API-first service** where every aspect of the \\nplatform is configurable via API. This documentation will help you authenticate and integrate with Authlete to \\nbuild powerful OAuth 2.0 and OpenID Connect servers.\\n\\nAt a high level, the Authlete API is grouped into two categories:\\n\\n- **Management APIs**: Enable you to manage services and clients.\\n- **Runtime APIs**: Allow you to build your own Authorization Servers or Verifiable Credential (VC) issuers.\\n\\n## 🌐 API Servers\\n\\nAuthlete is a global service with clusters available in multiple regions across the world:\\n\\n- 🇺🇸 **US**: `https://us.authlete.com`\\n- 🇯🇵 **Japan**: `https://jp.authlete.com`\\n- 🇪🇺 **Europe**: `https://eu.authlete.com`\\n- 🇧🇷 **Brazil**: `https://br.authlete.com`\\n\\nOur customers can host their data in the region that best meets their requirements.\\n\\n## 🔑 Authentication\\n\\nAll API endpoints are secured using **Bearer token authentication**. You must include an access token in every request:\\n\\n```\\nAuthorization: Bearer YOUR_ACCESS_TOKEN\\n```\\n\\n### Getting Your Access Token\\n\\nAuthlete supports two types of access tokens:\\n\\n**Service Access Token** - Scoped to a single service (authorization server instance)\\n\\n1. Log in to [Authlete Console](https://console.authlete.com)\\n2. Navigate to your service → **Settings** → **Access Tokens**\\n3. Click **Create Token** and select permissions (e.g., `service.read`, `client.write`)\\n4. Copy the generated token\\n\\n**Organization Token** - Scoped to your entire organization\\n\\n1. Log in to [Authlete Console](https://console.authlete.com)\\n2. Navigate to **Organization Settings** → **Access Tokens**\\n3. Click **Create Token** and select org-level permissions\\n4. Copy the generated token\\n\\n> ⚠️ **Important Note**: Tokens inherit the permissions of the account that creates them. Service tokens can only \\n> access their specific service, while organization tokens can access all services within your org.\\n\\n### Token Security Best Practices\\n\\n- **Never commit tokens to version control** - Store in environment variables or secure secret managers\\n- **Rotate regularly** - Generate new tokens periodically and revoke old ones\\n- **Scope appropriately** - Request only the permissions your application needs\\n- **Revoke unused tokens** - Delete tokens you're no longer using from the console\\n\\n### Quick Test\\n\\nVerify your token works with a simple API call:\\n\\n```bash\\ncurl -X GET https://us.authlete.com/api/service/get/list \\\\\\n -H \\\"Authorization: Bearer YOUR_ACCESS_TOKEN\\\"\\n```\\n\\n## 🎓 Tutorials\\n\\nIf you're new to Authlete or want to see sample implementations, these resources will help you get started:\\n\\n- [Getting Started with Authlete](https://www.authlete.com/developers/getting_started/)\\n- [From Sign-Up to the First API Request](https://www.authlete.com/developers/tutorial/signup/)\\n\\n## 🛠 Contact Us\\n\\nIf you have any questions or need assistance, our team is here to help:\\n\\n- [Contact Page](https://www.authlete.com/contact/)"
51+
description: "Command-line interface for the Authlete API. Manage OAuth 2.0 and OpenID Connect services, clients, tokens, and more."
5252
install: |
5353
bin.install "authlete"
5454

0 commit comments

Comments
 (0)