server

command
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Standalone OAuth test server for browser-based testing (Playwright).

Usage:

go run ./tests/oauthserver/cmd/server -port 9000
go run ./tests/oauthserver/cmd/server -port 9000 -no-dcr -no-device-code
go run ./tests/oauthserver/cmd/server -port 9000 -detection=www-authenticate

This starts the OAuth test server on http://localhost:9000 with:

  • Authorization endpoint: /authorize
  • Token endpoint: /token
  • Discovery: /.well-known/oauth-authorization-server
  • JWKS: /.well-known/jwks.json
  • DCR: /registration (if enabled)
  • Device code: /device_authorization (if enabled)

Test credentials: testuser / testpass

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL