Loading video...

Video Failed to Load

Go Home

HTTPS localhost with Next.js

460,124 views • 1 year ago •via X (Twitter)

9 Comments

Chi.dfkm's profile picture
Chi.dfkm1 year ago

What are possible use cases for HTTPS on localhost?

Alex Sidorenko's profile picture
Alex Sidorenko1 year 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 👨🏽‍💻1 year 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 Ahmed1 year 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 Sidorenko1 year 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ékan1 year ago

Why would I possibly need this ?

Rubi's profile picture
Rubi1 year ago

HTTPS localhost with Next.JS (better version)

Neeraj's profile picture
Neeraj1 year ago

Love the terminal! Is it Warp?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

Yep

Related Videos