eclipse-tractusx / digital-product-pass

digital product pass
https://github.com/eclipse-tractusx/digital-product-pass
Apache License 2.0
22 stars 13 forks source link

[7º] - Release/v2.0.0 authorization: Enabled BPN block and Role Authorization in the Digitla #161

Closed matbmoser closed 8 months ago

matbmoser commented 8 months ago

Why we create this PR?

There is the requirement to block the user when the token configuration is not correct and authorized. We need to block if the configuration is enabled the users that have different bpns as in the authorization configuration.

The requirement is because of data souverenity, and makes the app comply into the guidelines of authorization and authentication. Also is important to improve the backend configuration and security, as well as the backend.

What we want to achieve with this PR?

Implement the authorization for BPN and AppId Authentication. Improve the security configuration in the backend and frontend.

What is new?

Added

Update

PR Linked to:

Tickets
CMP-747]