smpallen99/coherence

plug Coherence.Authentication.Token isn't the same as Coherence.user_token(@conn)

Open

#297 创建于 2017年10月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Elixir (1,259 star) (220 fork)batch import
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.

贡献者指南