I just moved my Atlassian Connect Express add-on to Heroku. Now every endpoint that uses addon.authenticate() returns 401 (Unauthorized).
In Heroku, I’ve set the NODE_ENV config variable to “production” so that the “production” config in config.json is used. I’m using Heroku Postgres as the store (type is “postgres-atlassian,” url is “$DATABASE_URL”).
Any ideas why this is happening or what I should check?
Thanks!
John