Welcome
Sign in with your Instagram account. App ID and redirect URI come from
.env via
npm start. For a public URL (e.g.
Instagram OAuth), run
npm run dev:expose with
Expose
installed globally, then set
INSTAGRAM_REDIRECT_URI to the
HTTPS URL Expose prints.
Put INSTAGRAM_APP_ID,
INSTAGRAM_APP_SECRET, and
INSTAGRAM_REDIRECT_URI in
.env. Register the same redirect
URI in the
Meta Developer Dashboard. The app secret is only used on the server to exchange the code. OAuth
uses
api.instagram.com/oauth/authorize.
With Expose, register that exact HTTPS redirect in Meta; free tunnels
may get a new host each run unless you use a fixed subdomain (Pro).