security changes
This commit is contained in:
parent
e70db447c8
commit
aa8c73b6ed
|
@ -310,7 +310,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>gr.cite</groupId>
|
<groupId>gr.cite</groupId>
|
||||||
<artifactId>oidc-authn</artifactId>
|
<artifactId>oidc-authn</artifactId>
|
||||||
<version>2.2.0</version>
|
<version>2.2.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>gr.cite</groupId>
|
<groupId>gr.cite</groupId>
|
||||||
|
|
|
@ -5,16 +5,11 @@ web:
|
||||||
allowed-endpoints: [ api/public, api/description/public, api/dashboard/public ]
|
allowed-endpoints: [ api/public, api/description/public, api/dashboard/public ]
|
||||||
idp:
|
idp:
|
||||||
api-key:
|
api-key:
|
||||||
enabled: true
|
enabled: false
|
||||||
authorization-header: Authorization
|
|
||||||
client-id: ${IDP_APIKEY_CLIENT_ID:}
|
|
||||||
client-secret: ${IDP_APIKEY_CLIENT_SECRET:}
|
|
||||||
scope: ${IDP_APIKEY_SCOPE:}
|
|
||||||
resource:
|
resource:
|
||||||
token-type: JWT #| opaque
|
token-type: JWT #| opaque
|
||||||
opaque:
|
|
||||||
client-id: ${IDP_OPAQUE_CLIENT_ID:}
|
|
||||||
client-secret: ${IDP_OPAQUE_CLIENT_SECRET:}
|
|
||||||
jwt:
|
jwt:
|
||||||
claims: [ role, x-role ]
|
claims: [ role, x-role ]
|
||||||
issuer-uri: ${IDP_ISSUER_URI:}
|
issuer-uri: ${IDP_ISSUER_URI:}
|
||||||
|
audiences: [ "dmp_web" ]
|
||||||
|
validIssuer: ${IDP_ISSUER_URI:}
|
Loading…
Reference in New Issue