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

feat(api): access token with jwt authentication #3844

Merged
merged 21 commits into from Jan 16, 2019
Merged

Conversation

fsamin
Copy link
Member

@fsamin fsamin commented Jan 11, 2019

  1. Description
    For now, nothing is using it. This is the boilerplate code, a unit tests for JWT authentication and access token management

  2. Related issues

  3. About tests

  4. Mentions

@ovh/cds

engine/api/access_token.go Outdated Show resolved Hide resolved
engine/api/environment.go Outdated Show resolved Hide resolved
engine/api/test/test.go Outdated Show resolved Hide resolved
@ovh-cds

This comment has been minimized.

engine/api/access_token.go Show resolved Hide resolved
engine/api/access_token.go Outdated Show resolved Hide resolved
engine/api/accesstoken/accesstoken.go Outdated Show resolved Hide resolved
engine/api/accesstoken/accesstoken.go Outdated Show resolved Hide resolved
engine/api/accesstoken/accesstoken.go Outdated Show resolved Hide resolved
engine/api/accesstoken/dao.go Outdated Show resolved Hide resolved
@ovh-cds

This comment has been minimized.

engine/api/accesstoken/accesstoken.go Outdated Show resolved Hide resolved
Co-Authored-By: fsamin <francois.samin+github@gmail.com>
engine/api/access_token.go Outdated Show resolved Hide resolved
"crypto/rsa"
"time"

jwt "github.com/dgrijalva/jwt-go"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it is

engine/api/accesstoken/accesstoken.go Outdated Show resolved Hide resolved
@ovh-cds
Copy link
Collaborator

ovh-cds commented Jan 16, 2019

CDS Report ut-engine#8052.0 ✘

  • Stage 1
    • Engine Test with DB ✘

@ovh-cds
Copy link
Collaborator

ovh-cds commented Jan 16, 2019

CDS Report build-engine-cli-tools#8052.0 ✘

  • Build minimal
    • cdsctl linux ✔
    • Engine Build linux amd64 ✘
    • tools/debpacker ✔
    • tools/os-ansible-inventory ✔
    • Worker linux amd64 / 386 ✔

@richardlt richardlt merged commit ef143f5 into master Jan 16, 2019
@fsamin fsamin deleted the feat-access-token branch January 28, 2019 13:42
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

7 participants