-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: Authorized parties endpoint in enduser API #661
Conversation
Does frontend expect a GraphQl query here, or will they use this REST endpoint? |
I've added a GQL query. In order to separate them (in code) from the DialogQueries, I've used partials, and added the auth attribute to a third, common partial. Not sure if this is a good way. |
Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
...main.Dialogporten.Infrastructure/Altinn/Authorization/LocalDevelopmentAltinnAuthorization.cs
Outdated
Show resolved
Hide resolved
src/Digdir.Domain.Dialogporten.GraphQL/ServiceCollectionExtensions.cs
Outdated
Show resolved
Hide resolved
src/Digdir.Domain.Dialogporten.Infrastructure/Altinn/Authorization/AltinnAuthorizationClient.cs
Show resolved
Hide resolved
…tion/LocalDevelopmentAltinnAuthorization.cs Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
…ions.cs Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
Quality Gate passedIssues Measures |
🤖 I have created a release *beep* *boop* --- ## [1.6.0](v1.5.0...v1.6.0) (2024-05-07) ### Features * Add authorization caching ([#591](#591)) ([2f86d7e](2f86d7e)) * Add GraphQL POC ([#636](#636)) ([c779eac](c779eac)) * Add support for apps as serviceresource ([#658](#658)) ([adf91ce](adf91ce)) * Authorized parties endpoint in enduser API ([#661](#661)) ([050ccbb](050ccbb)) ### Bug Fixes * Accept app references with urn:altinn:resource prefix ([#685](#685)) ([c9a5606](c9a5606)) * ensure performed by is set for activities ([#628](#628)) ([1adf075](1adf075)) * Use HttpClient wrappers that ensure success to match FusionCache expectations ([#684](#684)) ([7c1e966](7c1e966)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Description
This adds a parties endpoint in the enduser-API, proxying requests to access-management and returning a custom DTO for all parties that the user has some sort of access relation to.
Related Issue(s)
Verification
Documentation
docs
-directory, Altinnpedia or a separate linked PR in altinn-studio-docs., if applicable)