Hacker News new | ask | show | jobs
by brianr 1621 days ago
Sounds interesting. What's a use case for this?
2 comments

Hey brianr! thanks for the question

Let's actually use Rollbar as a use case since your HN profile says you're the co-founder, and Rollbar supports SAML !

Use case:

There's a set of developers on a project in GitHub, that also need to log into Rollbar. Rollbar would be added as a provider in the SAML.to Configuration File (hosted in GitHub). Developers that need to access Rollbar would also be listed in the configuration file with who should be allowed to Login to Rollbar.

Here's a sample of the config file: https://gist.github.com/cnuss/4966f227afdd6a134e74ad579c9c7c...

When "cnuss" or "brianr" needs to access Rollbar, they would run the command in their console

`npx saml-to login rollbar`

This command would obtain their GitHub identity, and open a browser window directly into Rollbar. "tonystark" would not be able to do this, since he's not listed.

Additionaly, in this config, AWS access is configured for role assumption, So brianr, cnuss, and tonystark can all log AWS using the command

`npx saml-to assume role/admin`

This command would open up a browser window in the AWS console with the role of "arn:aws:iam::01234567890:role/admin"!

Using two commands, developers were able to log into both AWS and Rollbar in seconds.

Also, with SAML.to Premium, listing individual users is unnecessary, and assigning them to teams and specifying the teams in the config eliminates the repetition of a list of users in the config file.

Let me know if you have any questions or comments!

Enables using Github for single-sign-on (SSO), which is subtly different than using Github for sign-in on multiple online properties.