Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$auth.validateUser undefined in safari. #367

Open
91sticker opened this issue Nov 24, 2017 · 1 comment
Open

$auth.validateUser undefined in safari. #367

91sticker opened this issue Nov 24, 2017 · 1 comment

Comments

@91sticker
Copy link

I am facing an issue where I have implemented SAML authentication in my rails api having angular front end.
The SAML authentication works just fine in chrome and firefox but on safari $auth.validateUser returns undefined. And that only is the scenario in production servers. On development environment and staging server it works fine on safari as well.

I have checked Safari settings, I have checked my SAML IDP's logs.
I have inspected the sever logs for both chrome and safari auth processes in both scenarios when I receive the response from my IDP I parse and sign user in on my API (using devise token auth) and then send response to front-end

Redirected to http://myapp/#/login?auth_token=********&client_id=**********&config=&expiry=************&uid=***************

Its been days and I haven't come anywhere closer to fixing this issue. Any help would be massively appreciated.

@91sticker
Copy link
Author

If anyone else face a similar issue.
I found a fix on this particular link. This is what worked for me. I thought I would share.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant