{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a project's auth config","properties":{"path":{"type":"object","properties":{"ref":{"minLength":20,"maxLength":20,"pattern":"^[a-z]+$","type":"string","examples":["abcdefghijklmnopqrst"],"description":"Project ref"}},"required":["ref"],"additionalProperties":false},"body":{"$ref":"#/definitions/UpdateAuthConfigBody"}},"required":["path","body"],"additionalProperties":false,"definitions":{"UpdateAuthConfigBody":{"type":"object","properties":{"site_url":{"type":["string","null"],"pattern":"^[^,]+$"},"disable_signup":{"type":["boolean","null"]},"jwt_exp":{"type":["integer","null"],"minimum":0,"maximum":604800},"smtp_admin_email":{"type":["string","null"],"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"smtp_host":{"type":["string","null"]},"smtp_port":{"type":["string","null"]},"smtp_user":{"type":["string","null"]},"smtp_pass":{"type":["string","null"]},"smtp_max_frequency":{"type":["integer","null"],"minimum":0,"maximum":32767},"smtp_sender_name":{"type":["string","null"]},"mailer_allow_unverified_email_sign_ins":{"type":["boolean","null"]},"mailer_autoconfirm":{"type":["boolean","null"]},"mailer_subjects_invite":{"type":["string","null"]},"mailer_subjects_confirmation":{"type":["string","null"]},"mailer_subjects_recovery":{"type":["string","null"]},"mailer_subjects_email_change":{"type":["string","null"]},"mailer_subjects_magic_link":{"type":["string","null"]},"mailer_subjects_reauthentication":{"type":["string","null"]},"mailer_subjects_password_changed_notification":{"type":["string","null"]},"mailer_subjects_email_changed_notification":{"type":["string","null"]},"mailer_subjects_phone_changed_notification":{"type":["string","null"]},"mailer_subjects_mfa_factor_enrolled_notification":{"type":["string","null"]},"mailer_subjects_mfa_factor_unenrolled_notification":{"type":["string","null"]},"mailer_subjects_identity_linked_notification":{"type":["string","null"]},"mailer_subjects_identity_unlinked_notification":{"type":["string","null"]},"mailer_templates_invite_content":{"type":["string","null"]},"mailer_templates_confirmation_content":{"type":["string","null"]},"mailer_templates_recovery_content":{"type":["string","null"]},"mailer_templates_email_change_content":{"type":["string","null"]},"mailer_templates_magic_link_content":{"type":["string","null"]},"mailer_templates_reauthentication_content":{"type":["string","null"]},"mailer_templates_password_changed_notification_content":{"type":["string","null"]},"mailer_templates_email_changed_notification_content":{"type":["string","null"]},"mailer_templates_phone_changed_notification_content":{"type":["string","null"]},"mailer_templates_mfa_factor_enrolled_notification_content":{"type":["string","null"]},"mailer_templates_mfa_factor_unenrolled_notification_content":{"type":["string","null"]},"mailer_templates_identity_linked_notification_content":{"type":["string","null"]},"mailer_templates_identity_unlinked_notification_content":{"type":["string","null"]},"mailer_notifications_password_changed_enabled":{"type":["boolean","null"]},"mailer_notifications_email_changed_enabled":{"type":["boolean","null"]},"mailer_notifications_phone_changed_enabled":{"type":["boolean","null"]},"mailer_notifications_mfa_factor_enrolled_enabled":{"type":["boolean","null"]},"mailer_notifications_mfa_factor_unenrolled_enabled":{"type":["boolean","null"]},"mailer_notifications_identity_linked_enabled":{"type":["boolean","null"]},"mailer_notifications_identity_unlinked_enabled":{"type":["boolean","null"]},"mfa_max_enrolled_factors":{"type":["integer","null"],"minimum":0,"maximum":2147483647},"uri_allow_list":{"type":["string","null"]},"external_anonymous_users_enabled":{"type":["boolean","null"]},"external_email_enabled":{"type":["boolean","null"]},"external_phone_enabled":{"type":["boolean","null"]},"saml_enabled":{"type":["boolean","null"]},"saml_external_url":{"type":["string","null"],"pattern":"^[^,]+$"},"security_sb_forwarded_for_enabled":{"type":["boolean","null"]},"security_captcha_enabled":{"type":["boolean","null"]},"security_captcha_provider":{"type":["string","null"],"enum":["turnstile","hcaptcha",null]},"security_captcha_secret":{"type":["string","null"]},"sessions_timebox":{"type":["number","null"],"minimum":0,"description":"Session timebox in hours. Maximum 8760 hours (1 year)."},"sessions_inactivity_timeout":{"type":["number","null"],"minimum":0,"description":"Session inactivity timeout in hours. Maximum 8760 hours (1 year)."},"sessions_single_per_user":{"type":["boolean","null"]},"sessions_tags":{"type":["string","null"],"pattern":"^\\s*([a-zA-Z0-9_-]+(\\s*,+\\s*)?)*\\s*$"},"rate_limit_anonymous_users":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"rate_limit_email_sent":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"rate_limit_sms_sent":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"rate_limit_verify":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"rate_limit_token_refresh":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"rate_limit_otp":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"rate_limit_web3":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"mailer_secure_email_change_enabled":{"type":["boolean","null"]},"refresh_token_rotation_enabled":{"type":["boolean","null"]},"password_hibp_enabled":{"type":["boolean","null"]},"password_min_length":{"type":["integer","null"],"minimum":6,"maximum":32767},"password_required_characters":{"type":["string","null"],"enum":["abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789","abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789","abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};'\\\\:\"|<>?,./`~","",null]},"security_manual_linking_enabled":{"type":["boolean","null"]},"security_update_password_require_reauthentication":{"type":["boolean","null"]},"security_update_password_require_current_password":{"type":["boolean","null"],"description":"Require the user's current password when updating their password."},"security_refresh_token_reuse_interval":{"type":["integer","null"],"minimum":0,"maximum":2147483647,"description":"Refresh token reuse interval in seconds. Maximum 300 seconds (5 minutes)."},"mailer_otp_exp":{"type":"integer","minimum":0,"maximum":2147483647},"mailer_otp_length":{"type":["integer","null"],"minimum":6,"maximum":10},"sms_autoconfirm":{"type":["boolean","null"]},"sms_max_frequency":{"type":["integer","null"],"minimum":0,"maximum":32767},"sms_otp_exp":{"type":["integer","null"],"minimum":0,"maximum":2147483647},"sms_otp_length":{"type":"integer","minimum":0,"maximum":32767},"sms_provider":{"type":["string","null"],"enum":["messagebird","textlocal","twilio","twilio_verify","vonage",null]},"sms_messagebird_access_key":{"type":["string","null"]},"sms_messagebird_originator":{"type":["string","null"]},"sms_test_otp":{"type":["string","null"],"pattern":"^([0-9]{1,15}=[0-9]+,?)*$"},"sms_test_otp_valid_until":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"sms_textlocal_api_key":{"type":["string","null"]},"sms_textlocal_sender":{"type":["string","null"]},"sms_twilio_account_sid":{"type":["string","null"]},"sms_twilio_auth_token":{"type":["string","null"]},"sms_twilio_content_sid":{"type":["string","null"]},"sms_twilio_message_service_sid":{"type":["string","null"]},"sms_twilio_verify_account_sid":{"type":["string","null"]},"sms_twilio_verify_auth_token":{"type":["string","null"]},"sms_twilio_verify_message_service_sid":{"type":["string","null"]},"sms_vonage_api_key":{"type":["string","null"]},"sms_vonage_api_secret":{"type":["string","null"]},"sms_vonage_from":{"type":["string","null"]},"sms_template":{"type":["string","null"]},"hook_mfa_verification_attempt_enabled":{"type":["boolean","null"]},"hook_mfa_verification_attempt_uri":{"type":["string","null"]},"hook_mfa_verification_attempt_secrets":{"type":["string","null"]},"hook_password_verification_attempt_enabled":{"type":["boolean","null"]},"hook_password_verification_attempt_uri":{"type":["string","null"]},"hook_password_verification_attempt_secrets":{"type":["string","null"]},"hook_custom_access_token_enabled":{"type":["boolean","null"]},"hook_custom_access_token_uri":{"type":["string","null"]},"hook_custom_access_token_secrets":{"type":["string","null"]},"hook_send_sms_enabled":{"type":["boolean","null"]},"hook_send_sms_uri":{"type":["string","null"]},"hook_send_sms_secrets":{"type":["string","null"]},"hook_send_email_enabled":{"type":["boolean","null"]},"hook_send_email_uri":{"type":["string","null"]},"hook_send_email_secrets":{"type":["string","null"]},"hook_before_user_created_enabled":{"type":["boolean","null"]},"hook_before_user_created_uri":{"type":["string","null"]},"hook_before_user_created_secrets":{"type":["string","null"]},"hook_after_user_created_enabled":{"type":["boolean","null"]},"hook_after_user_created_uri":{"type":["string","null"]},"hook_after_user_created_secrets":{"type":["string","null"]},"external_apple_enabled":{"type":["boolean","null"]},"external_apple_client_id":{"type":["string","null"]},"external_apple_email_optional":{"type":["boolean","null"]},"external_apple_secret":{"type":["string","null"]},"external_apple_additional_client_ids":{"type":["string","null"]},"external_azure_enabled":{"type":["boolean","null"]},"external_azure_client_id":{"type":["string","null"]},"external_azure_email_optional":{"type":["boolean","null"]},"external_azure_secret":{"type":["string","null"]},"external_azure_url":{"type":["string","null"]},"external_bitbucket_enabled":{"type":["boolean","null"]},"external_bitbucket_client_id":{"type":["string","null"]},"external_bitbucket_email_optional":{"type":["boolean","null"]},"external_bitbucket_secret":{"type":["string","null"]},"external_discord_enabled":{"type":["boolean","null"]},"external_discord_client_id":{"type":["string","null"]},"external_discord_email_optional":{"type":["boolean","null"]},"external_discord_secret":{"type":["string","null"]},"external_facebook_enabled":{"type":["boolean","null"]},"external_facebook_client_id":{"type":["string","null"]},"external_facebook_email_optional":{"type":["boolean","null"]},"external_facebook_secret":{"type":["string","null"]},"external_figma_enabled":{"type":["boolean","null"]},"external_figma_client_id":{"type":["string","null"]},"external_figma_email_optional":{"type":["boolean","null"]},"external_figma_secret":{"type":["string","null"]},"external_github_enabled":{"type":["boolean","null"]},"external_github_client_id":{"type":["string","null"]},"external_github_email_optional":{"type":["boolean","null"]},"external_github_secret":{"type":["string","null"]},"external_gitlab_enabled":{"type":["boolean","null"]},"external_gitlab_client_id":{"type":["string","null"]},"external_gitlab_email_optional":{"type":["boolean","null"]},"external_gitlab_secret":{"type":["string","null"]},"external_gitlab_url":{"type":["string","null"]},"external_google_enabled":{"type":["boolean","null"]},"external_google_client_id":{"type":["string","null"]},"external_google_email_optional":{"type":["boolean","null"]},"external_google_secret":{"type":["string","null"]},"external_google_additional_client_ids":{"type":["string","null"]},"external_google_skip_nonce_check":{"type":["boolean","null"]},"external_kakao_enabled":{"type":["boolean","null"]},"external_kakao_client_id":{"type":["string","null"]},"external_kakao_email_optional":{"type":["boolean","null"]},"external_kakao_secret":{"type":["string","null"]},"external_keycloak_enabled":{"type":["boolean","null"]},"external_keycloak_client_id":{"type":["string","null"]},"external_keycloak_email_optional":{"type":["boolean","null"]},"external_keycloak_secret":{"type":["string","null"]},"external_keycloak_url":{"type":["string","null"]},"external_linkedin_oidc_enabled":{"type":["boolean","null"]},"external_linkedin_oidc_client_id":{"type":["string","null"]},"external_linkedin_oidc_email_optional":{"type":["boolean","null"]},"external_linkedin_oidc_secret":{"type":["string","null"]},"external_slack_oidc_enabled":{"type":["boolean","null"]},"external_slack_oidc_client_id":{"type":["string","null"]},"external_slack_oidc_email_optional":{"type":["boolean","null"]},"external_slack_oidc_secret":{"type":["string","null"]},"external_notion_enabled":{"type":["boolean","null"]},"external_notion_client_id":{"type":["string","null"]},"external_notion_email_optional":{"type":["boolean","null"]},"external_notion_secret":{"type":["string","null"]},"external_slack_enabled":{"type":["boolean","null"]},"external_slack_client_id":{"type":["string","null"]},"external_slack_email_optional":{"type":["boolean","null"]},"external_slack_secret":{"type":["string","null"]},"external_spotify_enabled":{"type":["boolean","null"]},"external_spotify_client_id":{"type":["string","null"]},"external_spotify_email_optional":{"type":["boolean","null"]},"external_spotify_secret":{"type":["string","null"]},"external_twitch_enabled":{"type":["boolean","null"]},"external_twitch_client_id":{"type":["string","null"]},"external_twitch_email_optional":{"type":["boolean","null"]},"external_twitch_secret":{"type":["string","null"]},"external_twitter_enabled":{"type":["boolean","null"]},"external_twitter_client_id":{"type":["string","null"]},"external_twitter_email_optional":{"type":["boolean","null"]},"external_twitter_secret":{"type":["string","null"]},"external_x_enabled":{"type":["boolean","null"]},"external_x_client_id":{"type":["string","null"]},"external_x_email_optional":{"type":["boolean","null"]},"external_x_secret":{"type":["string","null"]},"external_workos_enabled":{"type":["boolean","null"]},"external_workos_client_id":{"type":["string","null"]},"external_workos_secret":{"type":["string","null"]},"external_workos_url":{"type":["string","null"]},"external_web3_solana_enabled":{"type":["boolean","null"]},"external_web3_ethereum_enabled":{"type":["boolean","null"]},"external_zoom_enabled":{"type":["boolean","null"]},"external_zoom_client_id":{"type":["string","null"]},"external_zoom_email_optional":{"type":["boolean","null"]},"external_zoom_secret":{"type":["string","null"]},"db_max_pool_size":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"db_max_pool_size_unit":{"type":["string","null"],"enum":["connections","percent",null]},"api_max_request_duration":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"mfa_totp_enroll_enabled":{"type":["boolean","null"]},"mfa_totp_verify_enabled":{"type":["boolean","null"]},"mfa_web_authn_enroll_enabled":{"type":["boolean","null"]},"mfa_web_authn_verify_enabled":{"type":["boolean","null"]},"passkey_enabled":{"type":"boolean"},"webauthn_rp_display_name":{"type":["string","null"]},"webauthn_rp_id":{"type":["string","null"]},"webauthn_rp_origins":{"type":["string","null"]},"mfa_phone_enroll_enabled":{"type":["boolean","null"]},"mfa_phone_verify_enabled":{"type":["boolean","null"]},"mfa_phone_max_frequency":{"type":["integer","null"],"minimum":0,"maximum":32767},"mfa_phone_otp_length":{"type":["integer","null"],"minimum":0,"maximum":32767},"mfa_phone_template":{"type":["string","null"]},"nimbus_oauth_client_id":{"type":["string","null"]},"nimbus_oauth_client_secret":{"type":["string","null"]},"oauth_server_enabled":{"type":["boolean","null"]},"oauth_server_allow_dynamic_registration":{"type":["boolean","null"]},"oauth_server_authorization_path":{"type":["string","null"]},"custom_oauth_enabled":{"type":"boolean"}},"examples":[{"site_url":"https://app.example.com","disable_signup":false,"jwt_exp":3600}]}}},"name":"Updates a project's auth config","id":"supabase.v1-update-auth-service-config","example":{"path":{"ref":"abcdefghijklmnopqrst"},"body":{"site_url":"https://app.example.com","disable_signup":false,"jwt_exp":3600}},"maxRequests":1,"summary":false}}