Closed jpotts-IIL closed 1 year ago
Are you still having issues with this? I've just hooked up Rocket Chat to a django installation successfully through an iframe.
For posterity's sake, this is most likely due to a CORS issue. You need to enable CORS access on your SSO server for your RocketChat endpoint. Open up the dev console and and the browser will tell you why it's failing.
Thanks @tylerkahn.
I'll be closing this since it's very stale. Please open a new report if you have issues.
Description:
As far as I can tell I have set up IFrame authentication as described in the docs. However, I have been unable to login with the API URL.
It has been implemented in Django and my API URL points to:
@csrf_exempt
`def apiurl(request):get loginToken
(Sorry cant seem to get the formatting of the code correct)
From what I can tell, I am responding with a valid loginToken. However rather than logging in as expected, it redirects to the IFrame URL.
Am I missing something in the response?