Add bearer-token authentication with custom membership provider to existing Web API project

223 Views Asked by At

I have an existing Web API project that currently has no authentication built in.

I want to add bearer-token based authentication, but I want to use a custom membership provider that I have used for other projects, although this has been with basic authentication.

There are some examples online that almost do what I need, but these have other technologies built-in that I don't want to use (e.g. Angular) or are not based on using a custom membership provider.

I could obviously do this using basic authentication, but I really don't want to.

How do I implement this?

0

There are 0 best solutions below