• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / auth / 10410796346 / 1
69%
master: 69%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2024 09:32PM UTC
Files 127
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Aug 2024 09:26PM UTC coverage: 58.283% (-0.006%) from 58.289%
10410796346.1

push

github

web-flow
fix: add error codes to password login flow (#1721)

## What kind of change does this PR introduce?
* Add error codes to the password login flow, which fixes #1631 

## What is the current behavior?
* Most errors in the password login flow are returned as `oauthError`,
which doesn't have support for an error code as the struct conforms to
the [oauth error
response](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2)
specified in the RFC

## What is the new behavior?
* Errors which were previously returned as an `oauthError` struct now
return `badRequestError` instead with the following error code
`invalid_login_credentials`
* In certain cases, we can return existing error codes like
`ErrorCodeUserBanned`, `ErrorCodeEmailNotConfirmed`,
`ErrorCodePhoneNotConfirmed` or `ErrorCodeValidationFailed`
* Some error messages are updated to provide more clarity on the
underlying error

Feel free to include screenshots if it includes visual changes.

## Additional context

Add any other context or screenshots.

9193 of 15773 relevant lines covered (58.28%)

55.3 hits per line

Source Files on job 10410796346.1
  • Tree
  • List 127
  • Changed 3
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10410796346
  • 43512262 on github
  • Prev Job for on master (#10316067127.1)
  • Next Job for on master (#10420582753.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc