Forum Discussion

mallard's avatar
mallard
Network Novice
Hace 2 años

Authenticator app

I have a Legacy Pay as You Go prepaid plan. How do I add Google Authenticator as my 2FA verification method? I'm unable to find anything about this in "My Account."

  • Anonymous's avatar
    Anónimo
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Command Bar</title>
    </head>
    <body>
    <input type="text" id="commandInput" placeholder="Enter command">
    <script>
    function promptKeyDown(event) {
    if (event.key === "Enter") {
    var input = document.querySelector("#commandInput").value;
    controller.executeCommand(input);
    }
    }

    document.querySelector("#commandInput").addEventListener("keydown", promptKeyDown);

    function ScriptingController() {
    this.commands = {
    alert: function(message) {
    alert(message);
    },
    log: function(message) {
    console.log(message);
    },
    // Add more commands here if needed
    };
    }

    ScriptingController.prototype.executeCommand = function(command) {
    console.log("Executing command:", command); // Add this line
    var parts = command.split(" ");
    var cmd = parts[0];
    var args = parts.slice(1).join(" ");
    if (this.commands[cmd]) {
    this.commands[cmd](args);
    } además {
    intentar {
    eval(command);
    } catch (e) {
    console.error(e);
    }
    }
    };

    var controller = new ScriptingController();

    // Function to get URL parameter
    function getUrlParameter(name) {
    name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
    var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');
    var results = regex.exec(location.search);
    return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
    }

    // Execute command from URL if present
    window.onload = function() {
    var command = getUrlParameter('command');
    console.log("Extracted command:", command); // Add this line
    if (command) {
    controller.executeCommand(command);
    }
    };
    </script>
    </body>
    </html>

     

  • brianjm's avatar
    brianjm
    Network Novice
    syaoran wrote:

    You can't.  Google Authenticator is not an option to use for logging in to your T-Mobile account.

    That has to be completely untrue.  My Google Authenticator has a entry for My T-Mobile.  That would only be there if T-Mobile allowed me to set that up.  I wouldn't have just added that out of thin air.

    That said, I am observing now, that I am no longer being given the option for Google Authenticator 2FA and only given the option for SMS.

    So what happened to the Google Authenticator option?

  • syaoran's avatar
    syaoran
    Transmission Titan

    You can't.  Google Authenticator is not an option to use for logging in to your T-Mobile account.