From tony871209 at gmail.com Wed Mar 14 09:21:50 2012 From: tony871209 at gmail.com (Tony Ouyang) Date: Wed, 14 Mar 2012 17:21:50 +0800 Subject: [Viratdata] Can I re-generate Web API Key Message-ID: Hello, I found it a way to re-generate API key for applications. And I did that with application name "Default" and a longer token expiration time. That brought out a failure to sign in MIDAS Desktop and the log shows "The URL provided is not a valid MIDAS server Web API". So is it forbidden to re-generate the key so as to make the expiration time longer? -- TonyOuyang. Lab for Perception Computing Department of Computer Science and Engineering Shanghai Jiaotong University -------------- next part -------------- An HTML attachment was scrubbed... URL: From zach.mullen at kitware.com Wed Mar 14 11:22:19 2012 From: zach.mullen at kitware.com (Zach Mullen) Date: Wed, 14 Mar 2012 07:22:19 -0400 Subject: [Viratdata] Can I re-generate Web API Key In-Reply-To: References: Message-ID: Hi Tony, The Default api key is a special key that should not be changed or re-generated manually. If you want to restore it to its correct value, just change your password and the default key will be regenerated from the password. You can change the password to the same value it currently has. There shouldn't really be a need to extend the token duration. In the most recent versions of MIDAS Desktop, the authentication token is automatically refreshed by the application if it expires, and it only takes a second or two to do that. Thanks, On Wed, Mar 14, 2012 at 5:21 AM, Tony Ouyang wrote: > Hello, > > I found it a way to re-generate API key for applications. > > And I did that with application name "Default" and a longer token expiration > time. > > That brought out a failure to sign in MIDAS Desktop and the log shows "The > URL provided is not a valid MIDAS server Web API". > > So is it forbidden to re-generate the key so as to make the expiration time > longer? > > -- > TonyOuyang. > Lab for Perception Computing > Department of Computer Science and Engineering > Shanghai Jiaotong University > > > _______________________________________________ > Viratdata mailing list > Viratdata at public.kitware.com > http://public.kitware.com/cgi-bin/mailman/listinfo/viratdata > -- Zach Mullen R & D Engineer Kitware Inc. 919-869-8858