Upgrade script/create_superuser_token.rb in the api server codebase to
authorWard Vandewege <ward@curii.com>
Thu, 3 Dec 2020 14:13:36 +0000 (09:13 -0500)
committerWard Vandewege <ward@curii.com>
Thu, 3 Dec 2020 14:13:36 +0000 (09:13 -0500)
generate v2 tokens.

refs #17022

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

services/api/lib/create_superuser_token.rb

index 57eac048a9595b6d2bb5e139d7a191caa3e70017..7a18d970582786e860a0378717340e5e6ba3f3f1 100755 (executable)
@@ -54,7 +54,7 @@ module CreateSuperUserToken
         end
       end
 
-      api_client_auth.api_token
+      "v2/" + api_client_auth.uuid + "/" + api_client_auth.api_token
     end
   end
 end