Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
AuthPlane
authserver
Repository navigation
Code
Issues
Pull requests
Only collaborators can create PRs
Discussions
Actions
Security and quality
3
(3)
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
authserver
/
examples
/
python
/
02-agent-basic
/
.env.example
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
28 lines (25 loc) · 1.48 KB
main
Breadcrumbs
authserver
/
examples
/
python
/
02-agent-basic
/
.env.example
Copy path
Top
File metadata and controls
Code
Blame
28 lines (25 loc) · 1.48 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Example-local .env template — `make run` copies this file to .env on first
# run. Pre-populated with dev-only placeholder values that match the tier-01
# example's defaults so the two examples work together out of the box.
#
# Companion: examples/_shared/.env.example is the production-shaped template
# (empty secrets, with `openssl rand -hex 32` hints) and is intended for
# operators copying the layout into their own deployment.
#
# Tier 02 depends on tier 01 (`examples/python/01-mcp-server-basic`) already
# being up. The admin API key below MUST match the value the tier-01
# authserver was started with so verify.sh can register the Mint resource
# and OAuth client against that running AS.
# Admin API bearer token for the privileged admin surface (:9001).
# generate: openssl rand -hex 32
AUTHPLANE_ADMIN_API_KEY=dev-admin-key-change-me
# Where the agent's SDK client should discover Authplane metadata + JWKS.
# Tier 01 runs the AS with issuer `http://localhost:9000` and the agent runs
# natively on the host, so the two agree. The SDK compares the metadata
# document's `issuer` with this value byte-for-byte, so it must equal what
# tier 01's authserver was configured with, AS SEEN BY THE AGENT.
AUTHPLANE_ISSUER=http://localhost:9000
# Public base URL the protected MCP server advertises (used to derive both
# the JWT audience that the agent's token must carry and the URL the agent
# POSTs JSON-RPC at). Must match tier 01's `AUTHPLANE_BASE_URL`.
AUTHPLANE_BASE_URL=http://localhost:8080
You can’t perform that action at this time.