c# - Automatically assign authentication token in .NET -


i have implemented forms authentication .net membership provider want users able login facebook. once authenticated facebook, want automatically assign .net authentication token user. have httpmodule detecting fb authentication attempts manually generate authentication token have come short.

i tried

  • formsauthentication.setauthcookie
  • formsauthentication.getauthcookie + response.cookies.add
  • new formsauthenticationticket(...) la msdn
  • in httpmodule vs page

plus few other desperate attempts. nothing seems work. how done?

proposed way using wif


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -