Loading video...

Video Failed to Load

Go Home

HTTPS localhost with Next.js

460,362 views • 2 years ago •via X (Twitter)

9 Comments

Chi.dfkm's profile picture
Chi.dfkm2 years ago

What are possible use cases for HTTPS on localhost?

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

I remember I needed this a while ago. Some 3rd party API required https Here is a more comprehensive list

Rahul 👨🏽‍💻's profile picture
Rahul 👨🏽‍💻2 years ago

Nice one! Some cases where HTTPS on localhost might be needed: - Testing secure cookies - Web APIs like geolocation, payment etc - Web Crypto API requiring secure contexts - Third party APIs requiring secure connections - Fixing mixed content issues Share if you know more.

Barzi Ahmed's profile picture
Barzi Ahmed2 years ago

Two questions. 1. How did this feature achieved and implemented? 2. What are the benefits of using https for localhost?

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

@mpsurfate 1. I don't know 2. http is usually fine, but you may need https for certain things (some 3rd party APIs may require it)

Lékan's profile picture
Lékan2 years ago

Why would I possibly need this ?

Rubi's profile picture
Rubi2 years ago

HTTPS localhost with Next.JS (better version)

Neeraj's profile picture
Neeraj2 years ago

Love the terminal! Is it Warp?

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

Yep

Related Videos