Automattic / Automattic/simplenote-electron

Update development database setup to work with secure signup

Open
#2,853 5 comments 1 reaction 0 assignees View on GitHub
[feature] build bug
Dominant language
TypeScript
Stars
5.3k
Forks
588
Avg merge
9h 45m
Merged PRs (30d)
4

Description

I built and ran multiple versions (`run dev`) of the simplenote electron apps but I encountered the same issue: simplenote wont let me login with status code 401. The devtool shows `POST https://auth.simperium.com/1/history-analyst-dad/authorize/ 401`

#### App versions that DOES not work
- 2.9.0 (self-built)
- 2.9.0 [official linux built ](https://github.com/Automattic/simplenote-electron/releases/download/v2.9.0/Simplenote-linux-2.9.0-x64.tar.gz))
- 1.12.1 (self-built)
- web app hosting on 4000

#### App versions that work:
- 2.9.0 (official windows built)
- app.simplenote.com

I find there were a few issues related to the login issue, however, it seems that all of them are properly addressed and the issues were closed.
Could you help check what went wrong? Thanks.

### Where did you see the bug

- OS: Linux
- OS version: Ubuntu 18.04
- Browser (if applicable):
- Browser version (if applicable):
- Simplenote app version: 2.9.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with `run dev` on Ubuntu 18.04 and inspect the `POST https://auth.simperium.com/1/history-analyst-dad/authorize/` request in the devtools. Compare the failing Linux and web development apps with the working Windows build and app.simplenote.com; done means development login no longer returns status 401.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
authentication, database, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.