add an auth callback for web

This commit is contained in:
Hailey
2025-07-18 00:24:43 -07:00
parent 66ec6e9a8d
commit 796d989781
8 changed files with 44 additions and 4 deletions
+3
View File
@@ -331,6 +331,9 @@ func serve(cctx *cli.Context) error {
e.GET("/starter-pack-short/:code", server.WebGeneric)
e.GET("/start/:handleOrDID/:rkey", server.WebStarterPack)
// auth callback
e.GET("/auth/web/callback", server.WebGeneric)
// ipcc
e.GET("/ipcc", server.WebIpCC)
+1 -1
View File
@@ -3,7 +3,7 @@
"client_name": "Bluesky (Hailey Demo)",
"client_uri": "https://bsky.hailey.at",
"redirect_uris": [
"https://bsky.hailey.at/auth/callback"
"https://bsky.hailey.at/auth/web/callback"
],
"scope": "atproto transition:generic",
"token_endpoint_auth_method": "none",
@@ -3,7 +3,7 @@
"client_name": "Bluesky Native App (Hailey Demo)",
"client_uri": "https://bsky.hailey.at",
"redirect_uris": [
"at.hailey.bsky:/auth/callback"
"at.hailey.bsky:/auth/native/callback"
],
"scope": "atproto transition:generic",
"token_endpoint_auth_method": "none",