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

don't crash when user cancels auth

+4
+4
src/oauth.py
··· 131 131 async def oauth_callback(): 132 132 state = request.args["state"] 133 133 authserver_iss = request.args["iss"] 134 + if "code" not in request.args: 135 + message = f"{request.args['error']}: {request.args['error_description']}" 136 + current_app.logger.debug(message) 137 + return redirect(url_for("page_login")) 134 138 authorization_code = request.args["code"] 135 139 136 140 auth_request = get_auth_request(session)