Loading video...
Video Failed to Load
HTTPS localhost with Next.js
460,124 views • 1 year ago •via X (Twitter)
9 Comments

What are possible use cases for HTTPS on localhost?

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

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.

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

@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)

Why would I possibly need this ?

HTTPS localhost with Next.JS (better version)

Love the terminal! Is it Warp?

Yep
