StartItem

Is there any way I can pass the user name and password to "http://[ServerName]/[WebAlias]/default.aspx?StartItem=[ItemType]:[ItemID]"

Parents
  • Try to use the basic HTTP authentication, which sends the credentials in the standard HTTP "Authorization" header. The format of the URL for this method is: mr mine

    http://username:password@ServerName/WebAlias/default.aspx?StartItem=ItemType:ItemID

    Another method is to use a custom authentication mechanism, which can use query parameters, HTTP headers, cookies, or tokens to verify the credentials. For example, you can generate a time-limited token for each user and add it to the URL, like this:

    http://ServerName/WebAlias/default.aspx?token=bigtokengoeshere&StartItem=ItemType:ItemID

    Both have advantages and disadvantages, choose the method that best suits your problem.

    Sorry, when I attached the link automatically it shortened and lost information so I inserted the code. Hope it's not wrong.

Reply
  • Try to use the basic HTTP authentication, which sends the credentials in the standard HTTP "Authorization" header. The format of the URL for this method is: mr mine

    http://username:password@ServerName/WebAlias/default.aspx?StartItem=ItemType:ItemID

    Another method is to use a custom authentication mechanism, which can use query parameters, HTTP headers, cookies, or tokens to verify the credentials. For example, you can generate a time-limited token for each user and add it to the URL, like this:

    http://ServerName/WebAlias/default.aspx?token=bigtokengoeshere&StartItem=ItemType:ItemID

    Both have advantages and disadvantages, choose the method that best suits your problem.

    Sorry, when I attached the link automatically it shortened and lost information so I inserted the code. Hope it's not wrong.

Children