This commit is contained in:
Hailey
2024-08-03 13:58:44 -07:00
parent 2901f0fc50
commit ff5bc69b5a
6 changed files with 44 additions and 12 deletions
+1
View File
@@ -223,6 +223,7 @@ func serve(cctx *cli.Context) error {
e.GET("/intent/compose", server.WebGeneric)
e.GET("/messages", server.WebGeneric)
e.GET("/messages/:conversation", server.WebGeneric)
e.GET("/auth/callback", server.WebGeneric)
// profile endpoints; only first populates info
e.GET("/profile/:handleOrDID", server.WebProfile)
@@ -1,11 +1,11 @@
{
"client_id": "https://bsky.app/.well-known/client-metadata.json",
"client_id": "https://.ngrok-free.app/.well-known/client-metadata.json",
"client_name": "Bluesky",
"client_uri": "https://bsky.app",
"client_uri": "https://.ngrok-free.app",
"logo_uri": "https://bsky.app/logo.png",
"tos_uri": "https://bsky.social/about/support/tos",
"policy_uri": "https://bsky.social/about/support/privacy-policy",
"redirect_uris": ["https://bsky.app/auth/callback"],
"redirect_uris": ["https://.ngrok-free.app/auth/callback"],
"scope": "profile email offline_access",
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"],