2 deleted 2 characters in body
source | link

I want to be able to login directly from my .net application's login (without having to use the user's security token). And I was wondering if it was possible to send my username and password to the salesforce OAuth endpoints via Ajax and then retreive the access token and other values without getting redirected to the salesforce page. And if it were possible how would I implement it? Since I'm a complete beginner when it comes to this so any help would be appreciate itappreciated. And I'm not sure about this but wouldn't sending the username and password be a security risk? Or is there a way to protect these informations. And if someone wanted to clarify this a bit it would be great since I'm still looking around these solutions.

I want to be able to login directly from my .net application's login (without having to use the user's security token). And I was wondering if it was possible to send my username and password to the salesforce OAuth endpoints via Ajax and then retreive the access token and other values without getting redirected to the salesforce page. And if it were possible how would I implement it? Since I'm a complete beginner when it comes to this so any help would be appreciate it. And I'm not sure about this but wouldn't sending the username and password be a security risk? Or is there a way to protect these informations. And if someone wanted to clarify this a bit it would be great since I'm still looking around these solutions.

I want to be able to login directly from my .net application's login (without having to use the user's security token). And I was wondering if it was possible to send my username and password to the salesforce OAuth endpoints via Ajax and then retreive the access token and other values without getting redirected to the salesforce page. And if it were possible how would I implement it? Since I'm a complete beginner when it comes to this so any help would be appreciated. And I'm not sure about this but wouldn't sending the username and password be a security risk? Or is there a way to protect these informations. And if someone wanted to clarify this a bit it would be great since I'm still looking around these solutions.

1
source | link

Login to salesforce with oauth 2.0 directly from external app using ajax

I want to be able to login directly from my .net application's login (without having to use the user's security token). And I was wondering if it was possible to send my username and password to the salesforce OAuth endpoints via Ajax and then retreive the access token and other values without getting redirected to the salesforce page. And if it were possible how would I implement it? Since I'm a complete beginner when it comes to this so any help would be appreciate it. And I'm not sure about this but wouldn't sending the username and password be a security risk? Or is there a way to protect these informations. And if someone wanted to clarify this a bit it would be great since I'm still looking around these solutions.