Auth

4 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 20 Jun 2012 Link to this post

    Is there any way to authenticate via javascript right now?
  2. Ryan
    Admin
    Ryan avatar
    164 posts

    Posted 20 Jun 2012 Link to this post

    Hello,

    If you have the authorization service enabled in your TeamPulse web.config, it should be possible to use javascript to authenticate with TeamPulse.

    To enable the authorization service, add or un-comment the following into the TeamPulse web.config (note: it may already be in there).

    <system.web.extensions>
      <scripting>
        <webServices>
          <authenticationService enabled="true" requireSSL="false" />
        </webServices>
      </scripting>
    </system.web.extensions>

    This service is not used by TeamPulse directly, but can be used by other applications to authenticate with TeamPulse. However, it only works for forms (username and password) accounts, and not for windows credentials accounts.

    You should be able to call this service from javascript in a manner something like what is shown here: http://msdn.microsoft.com/en-us/library/bb398896.aspx 

    If that implementation seems a bit complex, you may be able to search around for a simpler one.

    Greetings,
    Ryan
    the Telerik team
  3. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 20 Jun 2012 Link to this post

    Thanks, I'll try!

    Quick Q though...on an update...would the webconfig get deleted and replaced so I'd have to go re-add that?
  4. Ryan
    Admin
    Ryan avatar
    164 posts

    Posted 20 Jun 2012 Link to this post

    Hello,

    Unfortunately, you are correct. The TeamPulse installer will override any changes to web.config files, and you will need to make those changes again manually. This is an annoyance, and we hope to improve it in the future.

    Greetings,
    Ryan
    the Telerik team
Back to Top