First I'll explain what I'm trying to accomplish:
I had originally implemented this via controller actions where a loginAction does the redirecting to the external service, and the external service redirects back to an authAction. In the authAction, the user is loaded (or created) and programatically logged in.
I thought the previous approach might be hack-ish, and attempted to try the SimplePreAuth tutorial , but I'm having no luck.
What would be my best approach?
基本上,我只是采用了我认为可能有点骇人听闻的解决方案。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.