asp.net web api - Web Api - claims based auth via STS -


i building 2 seperate asp.net webapi applications, run under same domain (not subdomain) plus 1 sts handles authentification , user account store.

the client connects breeze.js/angular.js apis. think jwt (json web token) choice tokens don't want use forms auth.

how accomplish trust between sts , apps domain name? found ws-federation trust samples think such overkill of need build.

not sure mean "by domain name".

the typical flow be:

  • client requests (jwt) token authorization server (using oauth2)
  • client sends token api using authorization header

the jwt signed authorization server - api verifies signature.

so trust between api , authorization server established being able validate token (using signature, issuer name , audience name).

see here: https://github.com/thinktecture/thinktecture.authorizationserver/wiki


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -