Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Secure WebApi so that users from an app can access it

$
0
0

Hey.

I followed this article:

https://blogs.msdn.microsoft.com/martinkearn/2015/03/25/securing-and-securely-calling-web-api-and-authorize/#comment-8355

Unfortunately the access of .../Token is not possible, because it is not found. Am I missing something?

I created user accounts (Identity), so with calling a login method users should get a token, as described in the above article. With this token they are able to call methods that have the [Authorize] attribute, am I correct? 

Do I need to install any packages (NuGet) or do I have to write any other lines of code?

Thank you in advance for your help!


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>