feat: add metadata endpoint #2

Manually merged
dananglin merged 1 commit from metadata-endpoint into main 2024-10-15 18:27:16 +01:00
Owner

Add the metadata endpoint so that clients can get the server's authorizarion and token endpoints.

Changes

  • Add a config object to allow administrators to configure the binding address, binding port and domain name.
  • Add a target in the magefiles and a step in the CI workflow to run go vet.
  • Add a Dockerfile.
  • Replace the --address flag with the --config flag.
  • Add the metadata endpoint to the router to return a JSON document containing the URLs to the metadata and token endpoints.
Add the metadata endpoint so that clients can get the server's authorizarion and token endpoints. ### Changes - Add a config object to allow administrators to configure the binding address, binding port and domain name. - Add a target in the magefiles and a step in the CI workflow to run `go vet`. - Add a Dockerfile. - Replace the `--address` flag with the `--config` flag. - Add the metadata endpoint to the router to return a JSON document containing the URLs to the metadata and token endpoints.
dananglin added 2 commits 2024-10-15 16:50:58 +01:00
add Dockerfile
Some checks failed
CI / Tests (pull_request) Failing after 2m19s
CI / Style (pull_request) Successful in 8s
62914aca00
dananglin added 1 commit 2024-10-15 17:20:35 +01:00
use filepath.Clean to fix gosec G304
All checks were successful
CI / Tests (pull_request) Successful in 14s
CI / Style (pull_request) Successful in 9s
87e7c90f1e
dananglin force-pushed metadata-endpoint from 87e7c90f1e to 7d0336d3db 2024-10-15 18:25:24 +01:00 Compare
dananglin manually merged commit 7d0336d3db into main 2024-10-15 18:27:16 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: apollo/indieauth-server#2
No description provided.