Closed ManuelCalvo3Pillar closed 5 months ago
RAD-5452: Back port of MANGO-1051. Enable use of OIDC/OAuth JWT bearer tokens.
Changes:
"string%s".formatted(scope)
String.format("string%s", scope)
if (!(authentication instanceof BearerTokenAuthenticationToken bearerToken)) return null;
if (!(authentication instanceof BearerTokenAuthenticationToken)) return null; BearerTokenAuthenticationToken bearerToken = (BearerTokenAuthenticationToken) authentication;
in MangoTokenAuthenticationProvider.java and JwtTokenAuthenticationProvider.java
@ManuelCalvo3Pillar one last change from here too https://github.com/RadixIoT/mango/pull/600/files#r1628381857
RAD-5452: Back port of MANGO-1051. Enable use of OIDC/OAuth JWT bearer tokens.
Changes:
"string%s".formatted(scope)
changing toString.format("string%s", scope)
in JwtTokenAuthenticationProvider.javaif (!(authentication instanceof BearerTokenAuthenticationToken bearerToken)) return null;
changing to:in MangoTokenAuthenticationProvider.java and JwtTokenAuthenticationProvider.java