from Hacker News

Show HN: Saml.to: I've Turned GitHub into a SAML Identity Provider

by cnuss on 1/5/22, 12:37 PM with 6 comments

  • by cnuss on 1/5/22, 12:37 PM

    Greetings Hackers!!

    I've bridged GitHub OAuth and SAML 2.0 together, and made it easy to use with a CLI (`npx saml-to --help`). It's called SAML.to (https://saml.to).

    I've built this to be a no/low-cost alternative to using Okta, OneLogin, or JumpCloud for SAML Logins.

    Using SAML.to, a configuration file is placed in a GitHub repository that defines one or many Service Providers and Permissions to GitHub users, then logging in is as simple as running a command in your console:

    npx saml-to login

    Or for role assumption (like IAM roles):

    npx saml-to assume

    I'd love this community's feedback on this, please let me know what you think!

    Cheers, cnuss

    CLI: https://github.com/saml-to/cli Forums: https://github.com/saml-to/cli/discussions Documentation: https://docs.saml.to

  • by brianr on 1/5/22, 6:28 PM

    Sounds interesting. What's a use case for this?