Sprint Boot - Authenticate user with credentials from header

I am trying to authenticate users in my Spring Boot Java application using a username and password provided in the header. I don’t want to have the Okta Sign-In Widget pop-up at all, but can’t seem to find an alternative. Any information in the correct direction would be appreciated.