Hi, new here.
I’m using Okta to manager the log in and authorization of users within a PHP application.
I’ve used the Sign in Widget for login and on the page that handles the redirect from okta, I have added code based on the php sample provided by the Okta documentation.
When trying to verify the access / id token with the Authorization server using the Okta Jwt Verifier, an exception occurs due to deprecation errors and the tokens can not be verified.
This is the code that handles the verification:
$jwtVerifier = (new \Okta\JwtVerifier\JwtVerifierBuilder())
The call to the verify method throws this exception:
message: “filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated”
Does anyone know how I can get around this?