riverrun / phauxth

Not actively maintained - Authentication library for Phoenix, and other Plug-based, web applications
409 stars 21 forks source link

Encode / decode the token with JSON #37

Closed riverrun closed 7 years ago

riverrun commented 7 years ago

Replace term_to_binary and binary_to_term variants with JSON encoding / decoding (provided by Poison).

Side-effects of this change

Tokens created with the old implementation will no longer be valid after upgrading Phauxth to the new, JSON, implementation.

riverrun commented 7 years ago

Changes made in versions 1.1.1 and 1.1.2.

Note added to the Upgrading Phauxth apps page.