
iliyazs.03457 (Customer) asked a question.
Open a new popup window for login credentials instead of a redirect for OIDC React SPA application
I have a react SPA application in which I'm using OKTA OpenID connect for authentication. I'm using "@okta/okta-react" for react hooks, Instead of opening login screen in the same window and redirecting back and forth I want to open a new browser window (not new tab) to enter the login details. Is it possible to achieve this functionality? If yes how can I achieve this?
Thanks.

Hello @iliyazs.03457 (Customer) Thank you for reacting out to our Community!
I have done some research on this matter and I was unable to find a method to achieve this. You can setup the application to open in a separate tab, but as far as I am aware not new tab.
However you can add a Feature Request on our Idea section, for a chance that this functionality to be added in the future.
https://support.okta.com/help/s/ideas
Additionally if you need further assistance we recommend to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.
https://devforum.okta.com/
Community members help others by clicking Like or Select as Best on responses. Try it today.
Hi,
Have you looked at getWithPopup function - if this fulfills your requirement. This function is in the core auth-js on which the okta-react is built, so there should be possiblility to call this for token renewal.
Thanks
Tushar Vatsa
I was looking for something similar functionality to 'loginWithPopup' in Auth0.