Skip to content

$auth.validateUser undefined in safari. #367

@91sticker

Description

@91sticker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions