nate-strauser / meteor-accounts-saml

SAML login support for existing accounts
MIT License
16 stars 6 forks source link

Getting the userid #12

Open Gobliins opened 8 years ago

Gobliins commented 8 years ago

Hello, after a SAML login how can i get info about the logged in user from the IDP (or the returned SAML Response)?

Somewhere in the code i found a userId and a "result" with a token and user as attributes. But the token is way to short something about 24 bytes and both (user and token) are decrypted and i am not sure if this is what i am looking for.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38621993-getting-the-userid?utm_campaign=plugin&utm_content=tracker%2F530713&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F530713&utm_medium=issues&utm_source=github).