POST /V1/tfa/provider/google/configure
POST /V1/tfa/provider/google/configure is a Magento 2 REST endpoint in the TwoFactorAuth module. Get the information required to configure google. Callable anonymously — no Authorization header required.
Last verified: against Magento 2.4.9.
Returns
Magento\TwoFactorAuth\Api\Data\GoogleConfigureInterface
Service contract
Magento\TwoFactorAuth\Api\GoogleConfigureInterface::getConfigurationData
Authorization
Anonymous — no Authorization header required.
Body parameters
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/tfa/provider/google/configureBody
{
"tfaToken": ""
}Related in TwoFactorAuth
Other endpoints shipped by the same module.
/V1/integration/admin/token
AnonymousTwoFactorAuth · Magento\TwoFactorAuth\Api\AdminTokenServiceInterface::createAdminAccessToken
/V1/tfa/default-provider-code/:userId
Get default provider
TwoFactorAuth · Magento\TwoFactorAuth\Api\UserConfigManagerInterface::getDefaultProvider
/V1/tfa/default-provider-code/:userId
Set default provider code
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::setDefaultProviderCode
/V1/tfa/forced-providers
Retrieve forced providers list
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getForcedProviders
/V1/tfa/installed-providers
Get a list of providers
TwoFactorAuth · Magento\TwoFactorAuth\Api\TfaInterface::getAllProviders
/V1/tfa/provider/authy/activate
AnonymousActivate the provider and get an admin token
TwoFactorAuth · Magento\TwoFactorAuth\Api\AuthyConfigureInterface::activate
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.