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:
- where code decides whether authenticated user has granted client? can't done "behind scenes" because never told middleware "component" path "/oauth/authorize".
- where code redirects user client's website, along auto-generated access_token , other values?
- 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. - 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 @
your answers either present or lead in right direction
Comments
Post a Comment