Can we somehow resolve the origin and request URL issue Skip to main content
https://support.okta.com/help/answers?id=9060z000000jjpvqas&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Piyush RawatPiyush Rawat 

Can we somehow resolve the origin and request URL issue

I have succesfully implemented token authentication using token.getWithoutPrompt method. But I want this source code to be on a domain and show it to users in an iframe(on another domain).

But this gives error
The target origin provided ('http://localhost:4200') does not match the recipient window's origin ('http://localhost')

I understand this is for security purposes but it will be only visible to trusted sources. So is there any solution for this? 
Vlad HumaVlad Huma (Vendor Management)
Hi Piyush,

Thanks for the question. We have documentation regarding tokens listed in the link below. If you are still having issues with this, I recommend opening a ticket with Okta Support to further investigate this.

#Link: https://developer.okta.com/authentication-guide/

Best regards,

Vlad Huma