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

safe-global / safe-client-gateway / 13458779067 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 21 Feb 2025 02:31PM UTC
Files 1621
Run time 49s
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

21 Feb 2025 02:23PM UTC coverage: 91.978% (+0.002%) from 91.976%
13458779067.1

push

github

web-flow
refactor: issue token from validated message (#2351)

We have to methods for Sign-In with Ethereum messages. This refactors the existing to use the simpler method implemented for org. onboard.

The `ISiweRepository` is now only responsible for parsing and validating a submitted `message`/`signature`. The `nonce` of which is compared against cached ones. As the upper limit for token expiration is auth-specific, that is now handled in the `AuthService`.

1. User calls `/nonce` and one is generated, cached and returned to the user.
2. User calls `/verify` and the message is parsed, validated, nonce compared, signature verified and then passed to the `AuthService`. The service ensures an `expirationTime` does not exceed the maxium and issues the token.

Note: on-chain signature verification was removed as it is not being used.

- Remove unused code from `ISiweRepository`.
- Move `expirationTime` check to `AuthService`.
- Add `iat` claim to token.
- Update tests accordingly.

3079 of 3726 branches covered (82.64%)

Branch coverage included in aggregate %.

20575 of 21991 relevant lines covered (93.56%)

250.07 hits per line

Source Files on job run-test:cov - 13458779067.1
  • Tree
  • List 1621
  • Changed 224
  • Source Changed 5
  • Coverage Changed 221
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 13458779067
  • 6e0540b9 on github
  • Prev Job for on main (#13456886798.2)
  • Next Job for on main (#13458783849.2)
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