Is there any way I can pass the user name and password to "http://[ServerName]/[WebAlias]/default.aspx?StartItem=[ItemType]:[ItemID]"
Is there any way I can pass the user name and password to "http://[ServerName]/[WebAlias]/default.aspx?StartItem=[ItemType]:[ItemID]"
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.
Hi Alan,
I'm not sure I'm doing this correctly. When I tried your first example I still get the Aras login box. I'm using Aras v11.11. This is how I formatted the URL:
My goal was to launch this from another application without the user needing to login to aras. The username and password are from a read only aras account that only displays contact information and nothing else.
Hi Alan,
I'm not sure I'm doing this correctly. When I tried your first example I still get the Aras login box. I'm using Aras v11.11. This is how I formatted the URL:
My goal was to launch this from another application without the user needing to login to aras. The username and password are from a read only aras account that only displays contact information and nothing else.
Copyright © 2024 Aras. All rights reserved.