You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to utilise this as part of an API server. The client accessing this is a SPA. Once I've called GET on the NEW endpoint, I open an IFrame and set its URL to the returned url value. However, after redirecting to https://github.com/login?client_id=..., which has a 200 status code, the IFrame shows github.com refused to connect.
Do you have any idea's? I'm not sure what to look for, since the network tab in Chrome shows everything returning correctly.
The text was updated successfully, but these errors were encountered:
I believe Github sets the x-frame-options header to prevent clickjacking. So your only option is to either use the authorization url in the current window, or open a new one.
I'm trying to utilise this as part of an API server. The client accessing this is a SPA. Once I've called GET on the NEW endpoint, I open an IFrame and set its URL to the returned
url
value. However, after redirecting tohttps://github.com/login?client_id=...
, which has a 200 status code, the IFrame showsgithub.com refused to connect
.Do you have any idea's? I'm not sure what to look for, since the network tab in Chrome shows everything returning correctly.
The text was updated successfully, but these errors were encountered: