identityserver3 - No signin id passed during redirect from Custom Middleware (External Identity Provider) -


we want external identity provider within our identityserver user redirected login external identity provider (idp) , complete authentication there. external idp redirects response our identityserver want form user claims response , redirect calling client.

we followed answer this stackoverflow question. implemented our own owin middleware following the anders abel tutorial , owin middleware's google auth external idp.

we followed exact implementation of customhrd sample. in middleware works perfectly, user gets redirected external idp state, response there (with state), form claims , on completion finish owin middleware pipeline , redirect /core/callback, identityserver gives following error:

the url call flow available below:

  1. /core/connect/authorize?params
  2. /core/login?signin=3a84a4f3dfe3218b06f3aa2185415e1e
  3. /core/ta (idp selector page)
  4. /core/login?signin=3a84a4f3dfe3218b06f3aa2185415e1e (resume uri after idp selection)
  5. /core/ta/tacall?state=
  6. redirect external url state
  7. callback external identity provider state: /core/ta/tacall?state=
  8. redirect middleware redirecturi after forming claims - /core/callback
  9. error occurs on /core/callback saying "there error determining application signing into. return application , try again."

can please figure out why occur?

note: looked cookies, passing cookie /core/callback contains signinmessage.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -