Redirect after authorization in iframe
-
I am using next js along with fusionauth.
I want to use an iframe to display a fusionauth window in my application.
The problem is that after entering the login and password, the redirect occurs inside the iframe and my application is displayed in the iframe.
How can this be fixed?I tried setting sandbox setting for iframe but it didn't give any result
Application Addresses:
app.domain.com
auth.domain.com -
@8mapta1 Thanks for the question.
I might need some context to be better able to assist. But generally, when you are opening an iframe, you will need to direct the actions to this window and the parent window from which it opened.
Can you confirm how you are doing this?
A quick search revealed a few tips, which depending on context may, or may not apply to your situation.
- https://www.ramanean.com/how-to-do-a-redirect-in-parent-window-using-an-iframe/
- https://www.edureka.co/community/83545/how-to-redirect-parent-window-from-an-iframe-action
Thanks,
Josh