Unanswered
Yes, the Enhanced SSO is basically a redirect of the IFrame, and authentication is not specifically needed. Loading Tecton inside the external website is also helpful but not necessary.
Here's a code snippet for the redirect:
window.addEventListener('load', function() {
window.location = {{ url }};
})
76 Views
0
Answers
4 years ago
4 years ago
Got it. So should I use one of the Tecton extension types when creating a new extension?
How would I perform that redirect?
— David Maksimov 4 years agoI added a code snippet to the answer here.
— Mark Ostroth 4 years agoThanks! That's one of the methods I was experimenting with but I was experiencing some issues. Could be because I was redirecting immediately instead of on the "load" event.
Is there a way to redirect directly from the extension's route in Python?
— David Maksimov 4 years agoNot really David, if you want your site embedded in online banking, you'll have to return a HTML page using a Tecton handler.
— Mark Ostroth 4 years agoOk thanks! I got it set up using what you've suggested. It's like 80% there but there are some weird issues when I try to display those pages as widgets. I opened up a new question here about that https://community.q2developer.com/question/1445039525897179136/setfetching-false-not-working-when-displaying-extension-as-a-widget
— David Maksimov 4 years ago