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

added authorization requirement to endpoints #272

Merged
merged 16 commits into from
Oct 19, 2023

Conversation

acn-sbuad
Copy link
Contributor

@acn-sbuad acn-sbuad commented Oct 12, 2023

Description

  • Added requirement of scope or accesstoken to relevant endpoints
  • Implemented middleware for retrieving org info from user claims or access token issuer
  • Updated test project to reflect changed requirements
  • Temp scope name set up, but not registered in maskinporten. Open to update after conversations with Maskinporten next week.

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@acn-sbuad acn-sbuad changed the title including pem file added authorization requirement to endpoints Oct 12, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

95.2% 95.2% Coverage
0.0% 0.0% Duplication

@acn-sbuad acn-sbuad merged commit c6d414c into main Oct 19, 2023
6 checks passed
@acn-sbuad acn-sbuad deleted the feature/8-add-authorization branch October 19, 2023 07:58
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