When using OpenUnison's oauth2jwt authentication mechanism with Bitbucket Pipelines as the OIDC provider, the following NPE is thrown:
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
because the return value of "org.json.simple.JSONObject.get(Object)" is null
at com.tremolosecurity.proxy.auth.oauth2.OAuth2JWT.processToken(OAuth2JWT.java:229)
Bitbucket doesn't support adding that claim to the pipeline step token.
According to RFC 7519, this is an optional claim. Please consider making it optional in oauth2jwt authentication mechanism.
When using OpenUnison's
oauth2jwtauthentication mechanism with Bitbucket Pipelines as the OIDC provider, the following NPE is thrown:Bitbucket doesn't support adding that claim to the pipeline step token.
According to RFC 7519, this is an optional claim. Please consider making it optional in
oauth2jwtauthentication mechanism.