fix(auth): add root URL to redirect_uris for browser OAuth client

Author: Aaron Steven White
Commit 3b8b80d0f840a09c8a5ed33754a6bfa0c6893677
Parent: 7a68807704
Structural diff unavailable

These commits were pushed via plain git push, so no pre-parsed schemas are available. Install git-remote-cospan and re-push via panproto:// to see scope-level changes, breaking change detection, and semantic diffs.

brew install panproto/tap/git-remote-cospan
3 files changed +8 -5
@@ -436,7 +436,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
436436 
437437 [[package]]
438438 name = "cospan-appview"
439-version = "0.2.0"
439+version = "0.2.1"
440440 dependencies = [
441441  "anyhow",
442442  "async-trait",
@@ -479,7 +479,7 @@ dependencies = [
479479 
480480 [[package]]
481481 name = "cospan-codegen"
482-version = "0.2.0"
482+version = "0.2.1"
483483 dependencies = [
484484  "anyhow",
485485  "panproto-core",
@@ -493,7 +493,7 @@ dependencies = [
493493 
494494 [[package]]
495495 name = "cospan-node"
496-version = "0.2.0"
496+version = "0.2.1"
497497 dependencies = [
498498  "anyhow",
499499  "async-trait",
@@ -7,7 +7,7 @@ members = [
77 resolver = "2"
88 
99 [workspace.package]
10-version = "0.2.1"
10+version = "0.2.2"
1111 edition = "2024"
1212 license = "AGPL-3.0-or-later"
1313 repository = "https://github.com/cospan-dev/cospan"
@@ -48,7 +48,10 @@ async fn client_metadata(State(state): State<Arc<AppState>>) -> impl IntoRespons
4848         "logo_uri": format!("{}/assets/logo.png", config.public_url),
4949         "tos_uri": format!("{}/tos", config.public_url),
5050         "policy_uri": format!("{}/privacy", config.public_url),
51-        "redirect_uris": [config.redirect_uri],
51+        "redirect_uris": [
52+            format!("{}/", config.public_url),
53+            config.redirect_uri,
54+        ],
5255         "grant_types": ["authorization_code", "refresh_token"],
5356         "response_types": ["code"],
5457         "scope": "atproto",
cospan · schematic version control on atproto built on AT Protocol