• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    API Token change

    Scheduled Pinned Locked Moved
    General Problems
    2
    3
    371
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alesser
      last edited by

      I know that right now in the API Token dialog you can generate a new token but not set the value to something you want. This is a little problematic for me because i’ve needed to burn an API token into a WindowsPE image that is a little cumbersome to rebuild. Simultaniously, I’ve needed to rebuild the FOG server from scratch in order to migrate the server effectively.

      What i’d like to know is this: is there somewhere where I can manually edit a config file and copy/paste the old API token into the new server, so that I don’t need to update the various scripts and other things that rely on the old token ?

      1 Reply Last reply Reply Quote 0
      • A
        alesser
        last edited by

        P.S. i’m willing to hack into the MySQL database and change values, if necessary 🙂 !

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @alesser
          last edited by Tom Elliott

          @alesser Not really unfortunately.

          The token you see on the screen is stored in the fogserver in a different mechanism. What you see is an encrypted string compared to what is actually stored in the FOG Server.

          If you have the original “plain text” value, it should work (even if you don’t see the same key) as it’s still referencing the same “plain text” value.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          163

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project