def strava_create_subscription(admin: bool = Depends(is_admin)): # @TODO add secret to the callback url to prevent abuse client = Client() response = client.create_subscription( client_id=STRAVA_CLIENT_ID, client_secret=STRAVA_CLIENT_SECRET, callback_url=f'{APP_URL}/strava/webhook', verify_token='some verify token') return response