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

☂️ SSO / OIDC / Token Expiry #13120

Closed
65 of 70 tasks
philrenaud opened this issue May 25, 2022 · 0 comments
Closed
65 of 70 tasks

☂️ SSO / OIDC / Token Expiry #13120

philrenaud opened this issue May 25, 2022 · 0 comments
Assignees
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/auth type/enhancement

Comments

@philrenaud
Copy link
Contributor

philrenaud commented May 25, 2022

ACL Token Expiration

The ability to set optional expiration times on ACL tokens. A prerequisite of Nomad SSO.

RFC

  • (L) Draft RFC
  • (S) Circulate within Nomad team
  • (S) Circulate within RFC mailing list

Implementation

  • (S) Update Server configuration with new options
  • (S) Modify ACL token API and CLI
  • (S) Modify ACL token state store schema
  • (S) Modify ACL token resolve RPC funcs
  • (M) Add new ACL token expiry garbage collector

Docs and Test

  • (S) Update server config website documentation
  • (S) Update API ACL token website documentation
  • (S) Update CLI ACL token website documentation
  • (S) Identify and update internal docs around ACL usage
  • (M) Add token expiry E2E tests
  • (L) New Learn guide

ACL Token Roles

The ability to group ACL policies within ACL roles. A prerequisite of Nomad SSO.

RFC

  • (L) Draft RFC
  • (S) Circulate within Nomad team
  • (S) Circulate within RFC mailing list

Implementation

  • (L) Implement ACL roles schema and store funcs
  • (M) Implement ACL roles structs and diff funcs
  • (L) implement ACL roles RPC endpoints
  • (L) implement ACL roles API endpoints
  • (M) implement ACL roles CLI
  • (S) Update ACL token create CLI
  • (L) Modify ACL token resolve functionality
  • (M) Modify replication functionality to include ACL roles

Docs and Test

  • (M) Add ACL role API website documentation
  • (M) Add ACL role CLI website documentation
  • (M) Identify and update ACL authentication website documentation
  • (L) Add ACL role E2E tests
  • (L) New Learn guide

ACL SSO (OIDC)

The SSO feature itself. There are still a number of unknown from my side as previous work focussed on expiry and roles.

RFC

  • (L) Draft RFC
  • (S) Circulate within Nomad team
  • (S) Circulate within RFC mailing list

Implementation

  • (L) Implement ACL auth method schema and store funcs
  • (L) Implement ACL auth method structs and diff funcs
  • (L) implement ACL auth method RPC endpoints
  • (L) implement ACL auth method API endpoints
  • (L) Implement login API
  • (L) Implement login RPC
  • (M) implement ACL auth method CLI
  • (L) Modify replication functionality to include ACL auth method
  • (L) Implement login CLI
  • (L) Add ACL auth-methods to event stream
  • (L) Implement ACL binding rule schema and store funcs
  • (L) Implement ACL binding rule structs and diff funcs
  • (L) implement ACL binding rule RPC endpoints
  • (L) implement ACL binding rule API endpoints
  • (L) Add ACL binding rules to event stream
  • (L) Add ACL binding rule CLI
  • (L) Add ACL binding rules evaluation and conversion

Docs and Test

  • (M) Add ACL auth method API website documentation
  • (M) Add ACL auth method CLI website documentation
  • (S) Add login CLI website documentation
  • (S) Add login API website documentation
  • (S) Add ACL binding rules CLI website documentation
  • (S) Add ACL binding rules API website documentation
  • (L) Add login E2E tests (if possible)
  • (L) New Learn guide
  • (S) Modify Nomad security model

UI

@philrenaud philrenaud added this to the 1.4.0 milestone May 25, 2022
@jrasell jrasell added stage/accepted Confirmed, and intend to work on. No timeline committment though. type/enhancement labels May 31, 2022
@tgross tgross removed their assignment Aug 16, 2022
pkazmierczak added a commit that referenced this issue Nov 28, 2022
This PR implements CLI commands to interact with SSO auth methods.

This PR is part of the SSO work captured under ☂️ ticket #13120.
pkazmierczak added a commit that referenced this issue Nov 29, 2022
…jects (#15410)

Currently CRUD code that operates on SSO auth methods does not return created or updated object upon creation/update. This is bad UX and inconsistent behavior compared to other ACL objects like roles, policies or tokens.

This PR fixes it.

Relates to #13120
jrasell added a commit that referenced this issue Jan 11, 2023
jrasell added a commit that referenced this issue Jan 18, 2023
sso: add OIDC login RPC, HTTP, and CLI workflow
jrasell added a commit that referenced this issue Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/auth type/enhancement
Projects
None yet
Development

No branches or pull requests

6 participants