You can notice that I've used the Oauth2-ressource-server dependency as it brings explicitely the spring security:
Make sure you have the following installed:
- Java Development Kit (JDK) 17 or higher
- Maven for dependency management
You'll need to configure the necessary properties in application.properties
for the app to function properly.
Ensure you provide the required credentials,
run the following commands to generate a keypaire for Token signture(Make sure you have OpenSSL installed or just use Git cmd tool)
openssl genrsa -out keypair.pem 2048
openssl rsa -in keypair.pem -pubout -out public.pem
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in keypair.pem -out private.pem
Mention any resources, libraries, or contributors you'd like to acknowledge in your project.