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

Contents of a Principal ("Subject") #33

Open
tulshi opened this issue Jun 28, 2023 Discussed in #23 · 1 comment
Open

Contents of a Principal ("Subject") #33

tulshi opened this issue Jun 28, 2023 Discussed in #23 · 1 comment

Comments

@tulshi
Copy link
Collaborator

tulshi commented Jun 28, 2023

Discussed in #23

Originally posted by baboulebou June 28, 2023
An ID should likely suffice in most cases. Now it's probably a good idea to also optionally add some Subject claims here that the PDP can use (thinking JWT claims coming into the PEP, or environmental values for example). But in that case it should not be just "IP" and "DeviceID", but rather an array of "key"="Value" claim pairs, or map or similar structure, which may be completely custom and use-case-specific.

Additionally, It would be good to also have a Subject Type - make it optional if not needed (but we would need it for example).

@ogazitt
Copy link
Collaborator

ogazitt commented Jun 30, 2023

The other comments didn’t convert from the discussion to the issue :(

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

No branches or pull requests

2 participants