add an auth callback for web
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user