OAuth2TokenValidator examples use non existing method name for creating the NimbusJwtDecoder #6925
Labels
in: docs
An issue in Documentation or samples
status: backported
An issue that has been backported to maintenance branches
Milestone
Summary
The code examples for
OAuth2TokenValidator
use methods that are not exist, for creating aNimbusJwtDecoder
/NimbusReactiveJwtDecoder
.This effects both validator examples (
JwtTimestampValidator
and customAudienceValidator
) in both documentations (servlet/reactive).I have seen that changes to this api are planned (#6010), but i think this change can be helpful in the interim. If you like i provide a PR for adjusting the docs.
Actual Behavior
The docs use the method
withOidcIssuerLocation(issuerUri)
which does not exists.Servlet - JwtTimestampValidator example
Servlet - AudienceValidator example
Reactive - JwtTimestampValidator example
Reactive - AudienceValidator example
Sorry for using blame links, but i can't find a way to create a link to a line in file for (rendered)
.adoc
files.Expected Behavior
The docs use the method
fromOidcIssuerLocation(issuerUri)
Version
5.1.5.RELEASE / master
The text was updated successfully, but these errors were encountered: