Okta authentication popup

hey team,
I try to implement SSO with OKTA - open ID connect (OIDC) in my app:
front side - angular, back side - java.
In my front app I try to implement - redirect to the sign-in page (when user click on okta button He will redirect to Okta website for insert username & password).
I work with :

oktaAuth.signInWithRedirect({ originalUri: '/test' });

Is it possible to to open a popup with Okta website (for authentication - user fills in name and password), so that my website will be in the background? And not make a full transition to Okta’s website?

Thanks in advance

Can you check out token.getWithPopup() to see if it works for your use case?

thanks Andrea !
Is there a place where you can see an example of how it works?
and , is it replace the use of:

oktaAuth.signInWithRedirect({ originalUri: '/okta/login' });

I would like to login with this function , and not use it after I logged-in .

thanks !

I believe you should be able to use getWithPopup() in place of signInWithRedirect(), as both should initialize an /authorize request to Okta.

Thanks Andrea!
It look like the getWithPopup() function is unknowen -
Currently my code -

 const oktaAuth = new OktaAuth(oktaConfig);
 await oktaAuth.signInWithRedirect({
                originalUri: '/okta/login'
            });

Did you try calling it like this:

oktaAuth.token.getWithPopup()