-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
AGENT-950: Implement Separate JWT Tokens for Different User Personas #9039
Merged
openshift-merge-bot
merged 12 commits into
openshift:master
from
pawanpinjarkar:create-seperate-tokens-4-each-user-authz
Nov 15, 2024
Merged
AGENT-950: Implement Separate JWT Tokens for Different User Personas #9039
openshift-merge-bot
merged 12 commits into
openshift:master
from
pawanpinjarkar:create-seperate-tokens-4-each-user-authz
Nov 15, 2024
Commits on Nov 13, 2024
-
AGENT-950: Implement Separate JWT Tokens for Different User Personas
- Create 3 seperate JWT tokens- AGENT_AUTH_TOKEN, USER_AUTH_TOKEN, WATCHER_AUTH_TOKEN - Update the claim to set 'auth_scheme' to identify the user persona - Assisted service checks the `auth_scheme` to determine which user persona is allowed to access an endpoint - WATCHER_AUTH_TOKEN is used with header `Watcher-Authorization` and is used by wait-for command ( watcher persona) - USER_AUTH_TOKEN is used with header `Authorization` and is used by curl API requests, systemd services ( user persona) - AGENT_AUTH_TOKEN is used with header `X-Secret-Key` and is used by agent service ( agent persona)
Configuration menu - View commit details
-
Copy full SHA for a189a7d - Browse repository at this point
Copy the full SHA a189a7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe60214 - Browse repository at this point
Copy the full SHA fe60214View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58f798c - Browse repository at this point
Copy the full SHA 58f798cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd4713b - Browse repository at this point
Copy the full SHA dd4713bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a3528b - Browse repository at this point
Copy the full SHA 7a3528bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60d37d0 - Browse repository at this point
Copy the full SHA 60d37d0View commit details -
Rename var to a common name AUTH_TOKEN_EXPIRY. All the 3 tokens expir…
…e at the same time.
Configuration menu - View commit details
-
Copy full SHA for e2e19d2 - Browse repository at this point
Copy the full SHA e2e19d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e45f4d6 - Browse repository at this point
Copy the full SHA e45f4d6View commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b346e46 - Browse repository at this point
Copy the full SHA b346e46View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7aa520 - Browse repository at this point
Copy the full SHA f7aa520View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcbc5af - Browse repository at this point
Copy the full SHA fcbc5afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4185056 - Browse repository at this point
Copy the full SHA 4185056View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.