We do encounter an issue with a JWT token length, which is used within a SSO system. One of our client is using outlook 2007 and there is a known bug regarding the length of a link provided inside an email.

To bypass this bug we thought about hosting our own URL shortener, so I'm coming here to have advice (as there is quite a lot of URL shortener vendor out there).

Our goal is to be able to send our the link through an email and then intercept this email extract the link inside and shorten this link then send the email to the final customer.

  • What is your SMTP server? – Julie Pelletier Aug 25 '16 at 13:25
  • We are using either our own smtp (postfix) or the one that comes with office365. – Pier Aug 25 '16 at 13:34
  • It is probably simpler to get used to using an existing URL shortener than to install one, let alone add a filter to your email server. – Julie Pelletier Aug 25 '16 at 13:54
  • Thanks for your valuable advice. The problem here is that this is a private system, shared with the client through an IPSEC tunnel, therefore we do not have access to the web, that is why I initially searched for a hosted service... – Pier Aug 25 '16 at 14:59
  • If you already have a web server, just search Google for something like url shortener script. – Julie Pelletier Aug 25 '16 at 15:02

You can use any of this programs:

URL Shorteners

  • Link-shortener-bot - URL shortener using a Telegram Bot. (Demo) MIT Ruby
  • Linkr - Beautiful, fast URL shortening. (Demo, Source Code) MIT Python/Nodejs
  • Lstu - Let's SHorten That Url - Lightweight URL shortener. WTFPL Perl
  • Nimbus - URL shortener and file sharer with a drag-and-drop OS X menu bar client and web interface. MIT Python
  • Polr - Modern, minimalist, modular, and lightweight URL shortener. (Source Code) GPL-2.0 PHP
  • reduc.io - URL shortener service written in Scala, using Akka-Http and Redis. MIT Scala
  • shorturl - Simple URL shortener with very tiny URLs. (Demo) MIT Go
  • shuri - SHort URI - Lighweight URL shortener. MIT PHP
  • url-shortener - Shitty url shortener, emoji and AI powered. MIT Nodejs
  • YOURLS - YOURLS is a set of PHP scripts that will allow you to run Your Own URL Shortener. Features include password protection, URL customization, bookmarklets, statistics, API, plugins, jsonp. (Source Code) MIT PHP
  • Thanks for your answer, I've already been through this list :) – Pier Aug 29 '16 at 6:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.