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 New API Call for User Profile #3723

Closed
lorriborri opened this issue Dec 11, 2024 · 0 comments · Fixed by #3809
Closed

Add New API Call for User Profile #3723

lorriborri opened this issue Dec 11, 2024 · 0 comments · Fixed by #3809
Labels

Comments

@lorriborri
Copy link
Member

Situation

Currently, our application lacks an endpoint to retrieve user profile information (username, email, Role). Users need a way to access their profile details through a dedicated API call.

Wanted

We need a new API endpoint
e.g. api/user/profile that allows authenticated users to retrieve their profile information.

The endpoint should:

  • Be accessible via a GET request.
  • Return user profile details such as username, email and role.

Solution

The new Endpoint should be in a dedicated domain for the webui
(maybe move the getAssignedProjectDataList in this domain as well - the usecase must be moved anyway)

  • add GET request to openapi.yaml
  • create new UseCase
  • create new REST controller
  • create new Service
hamidonos added a commit that referenced this issue Jan 17, 2025
hamidonos added a commit that referenced this issue Jan 17, 2025
)

* implement user self service api for user detail information #3723 | remove unused sechub-web-server module

* pr fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant