decentralized and customizable links page on top of atproto ligo.at
atproto link-in-bio python uv
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

reexport oauth metadata in .well-known

+7 -1
+7 -1
src/main.py
··· 23 23 ) 24 24 from src.config import AuthServer, Config 25 25 from src.db import KV, close_db_connection, get_db, init_db 26 - from src.oauth import oauth 26 + from src.oauth import oauth, oauth_metadata 27 27 28 28 app = Flask(__name__) 29 29 _ = app.config.from_prefixed_env() ··· 272 272 @app.get("/terms") 273 273 def page_terms(): 274 274 return render_template("terms.html") 275 + 276 + 277 + @app.get("/.well-known/oauth-client-metadata.json") 278 + def well_known_oauth_metadata(): 279 + response = oauth_metadata() 280 + return response, 200, {"Access-Control-Allow-Origin": "*"} 275 281 276 282 277 283 class LinkSection(NamedTuple):