Skip to content

feat: http-signature based auth + sign tokens#560

Merged
pajgo merged 26 commits intomasterfrom
feat/api-token-rbac
Jun 9, 2022
Merged

feat: http-signature based auth + sign tokens#560
pajgo merged 26 commits intomasterfrom
feat/api-token-rbac

Conversation

@pajgo
Copy link
Copy Markdown
Collaborator

@pajgo pajgo commented May 5, 2022

Adds an ability to save access scopes for tokens.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2022

Codecov Report

Merging #560 (8d1585e) into master (158e875) will increase coverage by 0.09%.
The diff coverage is 99.06%.

@@            Coverage Diff             @@
##           master     #560      +/-   ##
==========================================
+ Coverage   96.15%   96.24%   +0.09%     
==========================================
  Files         185      191       +6     
  Lines       11106    11402     +296     
==========================================
+ Hits        10679    10974     +295     
- Misses        427      428       +1     
Impacted Files Coverage Δ
src/utils/signed-request.js 95.08% <95.08%> (ø)
src/actions/token/create.js 100.00% <100.00%> (ø)
src/actions/token/get.js 100.00% <100.00%> (ø)
src/actions/token/list.js 100.00% <100.00%> (ø)
src/actions/token/update.js 100.00% <100.00%> (ø)
src/actions/verify-request-signature.js 100.00% <100.00%> (ø)
src/auth/strategy.bearer.js 95.57% <100.00%> (+5.29%) ⬆️
src/configs/auth.signed-request.js 100.00% <100.00%> (ø)
src/configs/jwt.js 100.00% <100.00%> (ø)
src/users.js 96.19% <100.00%> (+0.03%) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 49ecea3...8d1585e. Read the comment docs.

@pajgo pajgo force-pushed the feat/api-token-rbac branch from 73c08b8 to 9eaed26 Compare June 1, 2022 14:50
@pajgo pajgo changed the title feat: api token pbac/rbac feat: api token verify Jun 2, 2022
Comment thread schemas/config.json Outdated
Comment thread src/actions/token/get.js Outdated
Comment thread src/actions/token/update.js Outdated
Comment thread src/actions/verify-request-signature.js Outdated
Comment thread src/actions/verify-request-signature.js Outdated
Comment thread test/suites/actions/token/access-tokens.js
Comment thread src/auth/strategy.bearer.js Outdated
@pajgo pajgo force-pushed the feat/api-token-rbac branch from 60ac118 to 9d238db Compare June 7, 2022 09:08
@pajgo pajgo changed the title feat: api token verify feat: http-signature based auth + sign tokens Jun 9, 2022
@pajgo pajgo merged commit 247db24 into master Jun 9, 2022
@pajgo pajgo deleted the feat/api-token-rbac branch June 9, 2022 13:29
AVVS pushed a commit that referenced this pull request Jun 9, 2022
# [15.6.0](v15.5.0...v15.6.0) (2022-06-09)

### Features

* http-signature based auth + sign tokens ([#560](#560)) ([247db24](247db24))
@AVVS
Copy link
Copy Markdown
Member

AVVS commented Jun 9, 2022

🎉 This PR is included in version 15.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@AVVS AVVS added the released label Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants