smpallen99/coherence

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

Open

#297 aberto em 20 de out. de 2017

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Elixir (220 forks)batch import
help wanted

Métricas do repositório

Stars
 (1.259 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador