Last post Jul 08, 2017 07:55 AM by PatriceSc
Jul 06, 2017 02:36 PM|tapan2017|LINK
when people work with ASP.Net MVC version 4 or 5 then can we implement token auth instead of form auth ?
if possible then please drive me to right article which discuss how to implement token auth in asp.net mvc4/5
Jul 07, 2017 08:56 AM|tapan2017|LINK
it is not possible to use token in asp.net mvc v4/5 ?
i saw token is possible in asp.net mvc core.
Jul 07, 2017 09:28 AM|AngelinaJolie|LINK
I guess that you are looking for this type of tourist article:
JSON Web Token in ASP.NET Web API 2 using Owin :
And maybe you could something from ASP.NET Identity .
Jul 07, 2017 01:42 PM|tapan2017|LINK
i know token auth is possible in web api but i like to know how to implement token auth in asp.net mvc4 and 5 instead of form auth.
if you know anything about it then share plzz
Jul 07, 2017 02:14 PM|bruce (sqlwork.com)|LINK
Jul 07, 2017 02:33 PM|PatriceSc|LINK
It might be easier to help if you start from your high level scenario rather than discussing what is for now an implementation detail. I'm not 100% sure if you want to access a 3rd party API using a token, give access to your own API using a token or just
to authenticate users using a 3rd party identity provider etc... (I suspect this is what you actually want ?)
For now it sounds a bit like starting by asking about low level network layers without telling others your actual goal is to send an http request ;-)
Edit: try perhaps https://docs.microsoft.com/en-us/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on
If nothing helped so far please give us some similar high level goal ("I want to authenticate users using <your identity provider here>"). You don't want to "use an authentication token". This is just how maybe technically your actual (unkown for known)
goal will be achieved under the hood and is just a means to an end.
Jul 07, 2017 09:48 PM|tapan2017|LINK
probably i have seen asp.net core support token from any url.
i asked this question for my curiosity.
Jul 08, 2017 07:55 AM|PatriceSc|LINK
https://60secondtutorial.com/2015/12/13/jwt-bearer-token-authentication-authorization-front-end-in-asp-net-mvc/ then ??