Astrocoders / Astrocoders/nubank-api
Api url has changed
- Dominant language
- JavaScript
- Stars
- 679
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
I've been using this lib for a couple months, with everything ok.
Now I'm getting this error:
`FetchError: request to https://prod-auth.nubank.com.br/api/token failed, reason: write EPROTO 140736572793792:error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate:../deps/openssl/openssl/ssl/s3_
pkt.c:1498:SSL alert number 42
140736572793792:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:../deps/openssl/openssl/ssl/s3_pkt.c:659`
I think the api URL has changed to this new url:
`https://prod-s0-webapp-proxy.nubank.com.br/api/proxy/AJxL5LBUC2Tx4PB-W6VD1SEIOd2xp14EDQ.aHR0cHM6Ly9wcm9kLWdsb2JhbC1hdXRoLm51YmFuay5jb20uYnIvYXBpL3Rva2Vu`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the API token-request entry point and locate where the old prod-auth.nubank.com.br/api/token URL is used. Reproduce the reported SSL failure, verify the current Nubank endpoint and its authentication behavior, and consider the issue done when token requests succeed against the supported endpoint with appropriate tests or verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100