coherence
coherence copied to clipboard
plug Coherence.Authentication.Token isn't the same as Coherence.user_token(@conn)
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.
You're correct. Thanks.