authentication - What OWIN Middleware Redirects After User Grants Client? -


i've looked hard article oauth authorization server owin/katana: http://www.asp.net/aspnet/overview/owin-and-katana/owin-oauth-20-authorization-server

the article tell how set basic auth server seems omit lot of information , code. i'm particularly interested in implicit grant flow. did provide login page , "permissions" page, i'm confused:

  1. where code decides whether authenticated user has granted client? can't done "behind scenes" because never told middleware "component" path "/oauth/authorize".
  2. where code redirects user client's website, along auto-generated access_token , other values?
  3. i'm suspecting there proper way "construct" claimsidentity object (particularly scope claims) before passing authentication.signin(claimsidentity) in /oauth/authorize, automatically redirect user client access , refresh tokens.
  4. the mvc actions of /oauth/authorize , /accounts/login seem return view() after successful authentication , granting, never forwards user client's website. seems have manually determine when return redirect(request.querystring["redirecturl"]);, , figure out encrypted values pass along it. doesn't seem should generating exact response.

what did overlook?

as @(littlebobby tables) said questions broad.

based on how asked question actual understand topics not how?

i suggest @ full source code @

http://code.msdn.microsoft.com/owin-oauth-20-authorization-ba2b8783/file/114932/1/authorizationserver.zip

your answers either present or lead in right direction


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -