Problem:
spring.security.oauth2.resourceserver.jwt.jws-algorithm configuration property is ignored in autoconfiguration of reactive application. I've observed this bug during migration of my app to webflux.

Comment From: pivotal-issuemaster

@az1a Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@az1a Thank you for signing the Contributor License Agreement!

Comment From: mbhave

Thanks for the PR @az1a. I think we'd need to do the same for the public key variant as well. Would you be able to update your PR with that change?

If possible could you also add some tests to verify that the right algorithm is being used in both cases?

Comment From: az1a

Hello @mbhave, I've updated the PR. I see that Concourse CI build failed but I don't know what's wrong. The project builds successfully on my machine :)

Comment From: mbhave

The build failed due to a formatting violation. We can fix that when we merge. Thanks for updating the PR, looks good to me now.

Comment From: mbhave

@az1a Thank you for making your first contribution to Spring Boot. This has been merged into 2.2.x and master.