trnelson
trnelson

Reputation: 2763

Advice on OpenID/OAuth on ASP.NET Web API RESTful Services

I've been reading a lot about OpenID and OAuth but having trouble making just a few connections about how they would work in a service-based architecture.

Here's my scenario:

The new set of API services we are creating should handle everything, including Authentication and Authorization.

My questions are:

I guess, in summary:

Sorry these are basic questions but I'm sure they're easily answered. Thank you!

Upvotes: 2

Views: 1579

Answers (1)

Matt Dendle
Matt Dendle

Reputation: 61

Look at ThinkTecture's Identity Server

https://github.com/thinktecture/Thinktecture.IdentityServer.v2

It uses repository patterns for user stores, and uses the default membership provider as the user store - you would be able to easily plug-in your legacy membership provider.

OpenID connect would work on top of your membership provider, and you'd enable the option to only allow registered relying parties - meaning that only your approved clients (applications) would have access.

This seems like a perfect fit - hope this helps.

Matt

Upvotes: 5

Related Questions