Answer the question
In order to leave comments, you need to log in
How to make authorization through APIOK without a redirect?
I use server authorization with a line like
https://connect.ok.ru/oauth/authorize?client_id={c...
I want to authorize the user without reloading and redirecting the current page. I decided to trick myself with the help of a div with a nested IFRAME and made redirects inside the iframe. And I got the result:
Refused to display ' https://connect.ok.ru/oauth/authorize?client_id={c... ' in a frame because it set 'X-Frame-Options' to 'deny'
Clearly, classmates forbid for security reasons to use authorization inside the frame.
Any idea how to log in without redirecting the current page?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question