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.

at 6663046169c9c55f5fb53da87f67a002db347dfe 16 lines 427 B view raw
1import secrets 2import time 3from authlib.jose import JsonWebKey 4 5 6if __name__ == "__main__": 7 secret_key = secrets.token_hex() 8 9 now = int(time.time()) 10 key = JsonWebKey.generate_key( 11 "EC", "P-256", options={"kid": f"demo-{now}"}, is_private=True 12 ) 13 client_secret_jwk = key.as_json(is_private=True) 14 15 print(f'FLASK_SECRET_KEY="{secret_key}"') 16 print(f"FLASK_CLIENT_SECRET_JWK={client_secret_jwk}")