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

Add kratos subject webhook endpoint #945

Open
wants to merge 28 commits into
base: feature/ory-based-authorization
Choose a base branch
from

Conversation

mpgxvii
Copy link
Member

@mpgxvii mpgxvii commented Aug 28, 2024

Description:

  • Add kratos webhook endpoint to allow automatic creation of subjects after kratos registration
  • After subject is created, this adds back session id information such as scope, roles, to kratos id
  • Separate out subject, admin, and researcher identities

Solves https://github.com/RADAR-base/hydra-kratos/issues/43

Base automatically changed from feat/hydra-token to feature/ory-based-authorization September 13, 2024 13:53
Copy link
Member

@yatharthranjan yatharthranjan left a comment

Choose a reason for hiding this comment

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

Looks good. Some comments below.

EntityName.PROJECT,
"projectNotFound"
)
val subjectDto =
Copy link
Member

Choose a reason for hiding this comment

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

if possible, try to get the ID from the admin endpoint on kratos and verify with the one in the post request

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.

2 participants