First create a Ubuntu 13.04 x64 droplet on DigitalOcean Control Panel
Then ssh with root account, run this in termianl:
$ wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash| Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna! | |
| ([一-龯]) | |
| Regex for matching Hirgana or Katakana | |
| ([ぁ-んァ-ン]) | |
| Regex for matching Non-Hirgana or Non-Katakana | |
| ([^ぁ-んァ-ン]) | |
| Regex for matching Hirgana or Katakana or basic punctuation (、。’) |
| // <![CDATA[ | |
| var langCodes = { | |
| "af": "Afrikaans", | |
| "sq": "Albanian", | |
| "an": "Aragonese", | |
| "ar": "Arabic (Standard)", | |
| "ar-dz": "Arabic (Algeria)", | |
| "ar-bh": "Arabic (Bahrain)", | |
| "ar-eg": "Arabic (Egypt)", | |
| "ar-iq": "Arabic (Iraq)", |
First of all, please note that token expiration and revoking are two different things.
A JWT token that never expires is dangerous if the token is stolen then someone can always access the user's data.
Quoted from JWT RFC: