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

Endre respons på feilet dialog create til 403 Forbidden fra 401 Unauthorized #247

Closed
Tracked by #29
elsand opened this issue Nov 13, 2023 · 0 comments
Closed
Tracked by #29
Assignees
Labels
auth Issue related to authentication / authorization bug Something isn't working

Comments

@elsand
Copy link
Member

elsand commented Nov 13, 2023

Ved feilet autoriasjonskontroll på POST-endepunktet til /dialogs/ (pga. manglende eierskap til oppgitt tjenesteressurs) returneres 401 Unauthorized, selv om token er gydlig og forstått. Her skal det i stedet returneres 403 Forbidden.

I tillegg skal vi utvide dette med en ProblemDetails, som vil når #40 er implementer, vil kunne vise informasjon om hvilke scopes som kreves for å aksessere ressursen (i tillegg til å rett autentisert orgnr)

@elsand elsand added bug Something isn't working auth Issue related to authentication / authorization labels Nov 13, 2023
@oskogstad oskogstad self-assigned this Dec 5, 2023
@elsand elsand closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Issue related to authentication / authorization bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants