Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Candidate 3.1.1 #31

Merged
merged 7 commits into from
Sep 4, 2019
Merged

Release Candidate 3.1.1 #31

merged 7 commits into from
Sep 4, 2019

Conversation

joneubank
Copy link
Member

@joneubank joneubank commented Sep 4, 2019

Functional Changes

  • Updated Ego JWT expected shape to match Ego version 2.7 https://github.com/overture-stack/ego/releases/tag/2.7.0 . Permissions now read from jwt.context.scope instead of jwt.context.user.permissions
  • Ego JWT tokens now require a public key to be verified. If the public key is missing or the token doesnt match isValidJwt will return false, and decodeToken will throw an error. Other checks (such as isDccMember) will return false for a token that fails public key validation

Code Changes

  • Standardized Prettier formatting to match other ARGO repositories
  • move isRole type methods to a argoRoleChecks file (out of common/utils)

* ✨ Update JWT shape, read scopes from context.scope

* ✅ Update test JWT values to match new EGO shape

* 🎨 Argo standard prettier config and autoformat all files
* ✨ jwtDecode does not validate public key

* ✨ Verify jwt vs public key
@andricDu andricDu merged commit b2c09b9 into master Sep 4, 2019
@joneubank joneubank deleted the rc/3.1.1 branch September 4, 2019 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants