smpallen99/coherence
在 GitHub 查看plug Coherence.Authentication.Token isn't the same as Coherence.user_token(@conn)
Open
#297 创建于 2017年10月20日
help wanted
描述
Correct me if I'm wrong, but these are two different things. You can't take a token from Coherence.user_token function and send it in header to Coherence.Authentication.Token plug, because they have different storage.
The best way is to marry them, the ok way is to describe this case in README. It took about an hour of digging in source codes to figure out this.