Feature: Use Rails GlobalID
henrikbjorn opened this issue · 2 comments
These can be signed and are encoded completely as base64 also they support expiration out the box.
Consider using that instead of the custom token in the library
Yep that's definitely been something I've thought about - I think it's a better default than the custom one. In addition I'd like to make the default tokenizer configurable in the settings so people can swap out to whatever algorithm they want to use
This feature is now available on the master branch and will be the default tokenization method for new installations. It will be released with v1.0 of the gem, hopefully this weekend. You can try it out early until then:
gem "devise-passwordless", github: "abevoelker/devise-passwordless"
Upgrade guide for going from 0.x to 1.0: https://github.com/abevoelker/devise-passwordless/blob/master/UPGRADING.md