Possible to shorten magic link URL length?

Is it possible to have something like an auth0 bitly short link sent in the validation email?

Actual behavior:

Using the Auth0 passwordless flow where users are sent a ‘magic link’ to use to sign in, the semi-default template has a “click here” button (great) and then says “or sign in using this link: …” and is followed by a very long URL in this format:

https://[domain].au.auth0.com/passwordless/verify_redirect?scope=openid%20profile%20email&response_type=code&redirect_uri=[redirect_location]&state=[base64-data]&nonce=[code]&response_mode=query&_intstate=deprecated&_csrf=[code]&audience=[domain]&code_challenge_method=S256&code_challenge=[code]&auth_0_client=[code]&protocol=oauth2&verification_code=[code]&connection=email&client_id=[id]&email=[email]

In total the URL is 800+ characters.

Expected behavior

The email validation includes a shorter URL. For example:

“Sign in by clicking [here] or using this link: https://auth0.com/signin/abcd1234xyz&email=your-email@example.com. This will expire in 5 minutes.”

Hey there @techieshark,

At this time there isn’t an out of the box way to shorten the Magic Link your users receive. That being said, this could be a great asset as a feature! Please go to Auth0: Secure access for everyone. But not just anyone. and share your use case so our product team can directly request your request. Each request is read individually by our product team and help shape the future going forward in our product roadmap! Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.