Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • dev3
  • main
  • renovate/mockito-monorepo
  • renovate/mysql-connector-j.version
  • v1.0.0
  • v1.0.1
  • v1.0.2
  • v1.0.3
  • v1.0.4
  • v2.0.0
  • v2.0.1
  • v2.0.10
  • v2.0.11
  • v2.0.12
  • v2.0.2
  • v2.0.3
  • v2.0.4
  • v2.0.5
  • v2.0.6
  • v2.0.7
  • v2.0.8
  • v2.0.9
  • v2.1.0
  • v2.1.1
  • v2.1.10
  • v2.1.11
  • v2.1.12
  • v2.1.13
  • v2.1.14
  • v2.1.2
  • v2.1.3
  • v2.1.4
  • v2.1.5
  • v2.1.6
  • v2.1.7
  • v2.1.8
  • v2.1.9
  • v2.2.0
  • v2.2.1
  • v2.2.2
  • v2.2.3
  • v2.2.4
  • v2.2.5
  • v2.2.6
  • v2.3.0
  • v2.3.1
  • v2.3.10
  • v2.3.11
  • v2.3.2
  • v2.3.3
  • v2.3.4
  • v2.3.5
  • v2.3.6
  • v2.3.7
  • v2.3.8
  • v2.3.9
  • v2.4.0
  • v2.4.1
  • v2.4.10
  • v2.4.11
  • v2.4.12
  • v2.4.13
  • v2.4.2
  • v2.4.3
  • v2.4.4
  • v2.4.5
  • v2.4.6
  • v2.4.7
  • v2.4.8
  • v2.4.9
  • v2.5.0
  • v2.5.1
  • v2.5.2
  • v2.5.3
74 results

Target

Select target project
  • perun/perun-proxyidp/bleeding-edge/lsaai-oidc-mock
1 result
Select Git revision
  • dev3
  • main
  • renovate/mockito-monorepo
  • renovate/mysql-connector-j.version
  • v1.0.0
  • v1.0.1
  • v1.0.2
  • v1.0.3
  • v1.0.4
  • v2.0.0
  • v2.0.1
  • v2.0.10
  • v2.0.11
  • v2.0.12
  • v2.0.2
  • v2.0.3
  • v2.0.4
  • v2.0.5
  • v2.0.6
  • v2.0.7
  • v2.0.8
  • v2.0.9
  • v2.1.0
  • v2.1.1
  • v2.1.10
  • v2.1.11
  • v2.1.12
  • v2.1.13
  • v2.1.14
  • v2.1.2
  • v2.1.3
  • v2.1.4
  • v2.1.5
  • v2.1.6
  • v2.1.7
  • v2.1.8
  • v2.1.9
  • v2.2.0
  • v2.2.1
  • v2.2.2
  • v2.2.3
  • v2.2.4
  • v2.2.5
  • v2.2.6
  • v2.3.0
  • v2.3.1
  • v2.3.10
  • v2.3.11
  • v2.3.2
  • v2.3.3
  • v2.3.4
  • v2.3.5
  • v2.3.6
  • v2.3.7
  • v2.3.8
  • v2.3.9
  • v2.4.0
  • v2.4.1
  • v2.4.10
  • v2.4.11
  • v2.4.12
  • v2.4.13
  • v2.4.2
  • v2.4.3
  • v2.4.4
  • v2.4.5
  • v2.4.6
  • v2.4.7
  • v2.4.8
  • v2.4.9
  • v2.5.0
  • v2.5.1
  • v2.5.2
  • v2.5.3
74 results
Show changes
Commits on Source (3)
## [2.5.1](https://gitlab.ics.muni.cz/perun-proxy-aai/java/lsaai-oidc-mock/compare/v2.5.0...v2.5.1) (2024-02-15)
### Bug Fixes
* 🐛 Use different scope for dynreg deregistration ([f0e335f](https://gitlab.ics.muni.cz/perun-proxy-aai/java/lsaai-oidc-mock/commit/f0e335f8fba05275b019e38cfa362baf692a91a6))
# [2.5.0](https://gitlab.ics.muni.cz/perun-proxy-aai/java/lsaai-oidc-mock/compare/v2.4.13...v2.5.0) (2024-02-15)
......
......@@ -21,7 +21,7 @@
<parent>
<groupId>cz.muni.ics</groupId>
<artifactId>perun-oidc-parent</artifactId>
<version>2.5.0</version>
<version>2.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
......
......@@ -22,7 +22,7 @@
<parent>
<groupId>cz.muni.ics</groupId>
<artifactId>perun-oidc-parent</artifactId>
<version>2.5.0</version>
<version>2.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
......
......@@ -30,6 +30,8 @@ public class ScopeServiceImpl implements ScopeService {
scopes.add("voperson_current_external_affiliation");
scopes.add("authenticating_entity");
scopes.add("client_dynamic_registration");
scopes.add("cleint_dynamic_update");
scopes.add("client_dynamic_deregistration");
}
@Override
public Set<String> getScopes() {
......
......@@ -88,7 +88,7 @@ public class DynamicRegistrationEndpoint {
) {
OAuth2Authentication authentication = (OAuth2Authentication) auth;
Set<String> scope = authentication.getOAuth2Request().getScope();
if (scope == null || !scope.contains("client_dynamic_registration")) {
if (scope == null || !scope.contains("client_dynamic_deregistration")) {
throw new InvalidRequestException("The provided token does not contain the required scope");
} else if (!StringUtils.hasText(dynregClientId)) {
throw new InvalidRequestException("Path parameter identifying the client to be deleted not specified");
......
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>cz.muni.ics</groupId>
<artifactId>perun-oidc-parent</artifactId>
<version>2.5.0</version>
<version>2.5.1</version>
<packaging>pom</packaging>
<modules>
......