I have asp.net web api authentication with external providers and asp.net mvc application. I want to authenticate from the mvc app. I follow instructions from this post: asp.net web api 2: how to login with external authentication services? but how can i get the access_token after redirect from provider page?
Asked
Active
Viewed 63 times
0
-
Did you look into the header of the response ? should be there – Thomas Dec 18 '15 at 00:41
-
It isn't there, it is in redirect url. – user2417332 Dec 18 '15 at 07:28
-
You want to know how to extract the token from the url ? How to parse the query string ? – Thomas Dec 20 '15 at 23:22