Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 16, 2012 09:24 PM by pranav rastogi
0 Points
1 Post
Sep 11, 2012 09:36 AM|LINK
I have created new ASP.NET MVC 4 project and testing how OAuthWebSecurity works with external providers (Twitter).
Currently, authentication works fine. I am interested in authorization.
What is the preffered way to retrieve user AccessToken and AccessSecret after successfull login?
I am thinking about scenario where logged-in user should be able to send tweet(s)/direct message(s) to the user(s) that's following him.
Thanks.
mvc twitter
All-Star
27434 Points
4891 Posts
MVP
Sep 11, 2012 01:11 PM|LINK
The OAuthWebSecurity APIs only seem to expose the authentication piece of DotNetOpenAuth. I think you'd need to drop down and use their APIs to request an access token.
Member
286 Points
52 Posts
Sep 16, 2012 09:24 PM|LINK
you get the access token back once you authenticate from oauth providers etc. eg look at the following post that explains this
http://blogs.msdn.com/b/webdev/archive/2012/08/22/extra-information-from-oauth-openid-provider.aspx
zlatko.rekic
0 Points
1 Post
OAuthWebSecurity - retrieve AccessToken, AccessSecret
Sep 11, 2012 09:36 AM|LINK
I have created new ASP.NET MVC 4 project and testing how OAuthWebSecurity works with external providers (Twitter).
Currently, authentication works fine. I am interested in authorization.
What is the preffered way to retrieve user AccessToken and AccessSecret after successfull login?
I am thinking about scenario where logged-in user should be able to send tweet(s)/direct message(s) to the user(s) that's following him.
Thanks.
mvc twitter
BrockAllen
All-Star
27434 Points
4891 Posts
MVP
Re: OAuthWebSecurity - retrieve AccessToken, AccessSecret
Sep 11, 2012 01:11 PM|LINK
The OAuthWebSecurity APIs only seem to expose the authentication piece of DotNetOpenAuth. I think you'd need to drop down and use their APIs to request an access token.
mvc twitter
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
pranav rasto...
Member
286 Points
52 Posts
Re: OAuthWebSecurity - retrieve AccessToken, AccessSecret
Sep 16, 2012 09:24 PM|LINK
you get the access token back once you authenticate from oauth providers etc. eg look at the following post that explains this
http://blogs.msdn.com/b/webdev/archive/2012/08/22/extra-information-from-oauth-openid-provider.aspx