Merge pull request #242 from realwds/support-iframe-jump

Update oauth_access_confirmation.ftl
This commit is contained in:
MaxKey 2025-03-06 10:02:47 +08:00 committed by GitHub
commit a5443925d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@
<head>
<#include "authorize_common.ftl">
<script type="text/javascript">
window.top.location.href = "${model.authorizeApproveUri}?oauth_approval=${model.oauth_approval}&clientId=${model.client.clientId!}";
self.location.href = "${model.authorizeApproveUri}?oauth_approval=${model.oauth_approval}&clientId=${model.client.clientId!}";
</script>
</head>