Authenticate with local jwt and okta

Hi, while im trying to use Okta (on spring) i cant find a way to use both Okta on old local authentication,
when adding okta im keep getting “An error occurred while attempting to decode the Jwt: Signed JWT rejected: Invalid signature”, how do i separate them ?

Are you working on a spring resource server that needs to validate access tokens? Are you using our Spring Boot Starter?

Yeah, I was not aware to the fact that configuring okta on properties will trigger oauth2 authentication every time i’m sending authorization in the header (even if it’s not okta token), so i remove it, and make custom validation filter.
thank you.