Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/crewjam/saml

Package saml contains a partial implementation of the SAML standard in golang. SAML is a standard for identity federation, i.e. either allowing a third party to authenticate your users or allowing third parties to rely on us to authenticate their users. In SAML parlance an Identity Provider (IDP) is a service that knows how to authenticate users. A Service Provider (SP) is a service that delegates authentication to an IDP. If you are building a service where users log in with someone else's credentials, then you are a Service Provider. This package supports implementing both service providers and identity providers. The core package contains the implementation of SAML. The package samlsp provides helper middleware suitable for use in Service Provider applications. The package samlidp provides a rudimentary IDP service that is useful for testing or as a starting point for other integrations. Version 0.4.0 introduces a few breaking changes to the _samlsp_ package in order to make the package more extensible, and to clean up the interfaces a bit. The default behavior remains the same, but you can now provide interface implementations of _RequestTracker_ (which tracks pending requests), _Session_ (which handles maintaining a session) and _OnError_ which handles reporting errors. Public fields of _samlsp.Middleware_ have changed, so some usages may require adjustment. See [issue 231](https://github.com/crewjam/saml/issues/231) for details. The option to provide an IDP metadata URL has been deprecated. Instead, we recommend that you use the `FetchMetadata()` function, or fetch the metadata yourself and use the new `ParseMetadata()` function, and pass the metadata in _samlsp.Options.IDPMetadata_. Similarly, the _HTTPClient_ field is now deprecated because it was only used for fetching metdata, which is no longer directly implemented. The fields that manage how cookies are set are deprecated as well. To customize how cookies are managed, provide custom implementation of _RequestTracker_ and/or _Session_, perhaps by extending the default implementations. The deprecated fields have not been removed from the Options structure, but will be in future. In particular we have deprecated the following fields in _samlsp.Options_: - `Logger` - This was used to emit errors while validating, which is an anti-pattern. - `IDPMetadataURL` - Instead use `FetchMetadata()` - `HTTPClient` - Instead pass httpClient to FetchMetadata - `CookieMaxAge` - Instead assign a custom CookieRequestTracker or CookieSessionProvider - `CookieName` - Instead assign a custom CookieRequestTracker or CookieSessionProvider - `CookieDomain` - Instead assign a custom CookieRequestTracker or CookieSessionProvider - `CookieDomain` - Instead assign a custom CookieRequestTracker or CookieSessionProvider Let us assume we have a simple web application to protect. We'll modify this application so it uses SAML to authenticate users. ```golang package main import ( ) ``` Each service provider must have an self-signed X.509 key pair established. You can generate your own with something like this: We will use `samlsp.Middleware` to wrap the endpoint we want to protect. Middleware provides both an `http.Handler` to serve the SAML specific URLs and a set of wrappers to require the user to be logged in. We also provide the URL where the service provider can fetch the metadata from the IDP at startup. In our case, we'll use [samltest.id](https://samltest.id/), an identity provider designed for testing. ```golang package main import ( ) ``` Next we'll have to register our service provider with the identity provider to establish trust from the service provider to the IDP. For [samltest.id](https://samltest.id/), you can do something like: Navigate to https://samltest.id/upload.php and upload the file you fetched. Now you should be able to authenticate. The flow should look like this: 1. You browse to `localhost:8000/hello` 1. The middleware redirects you to `https://samltest.id/idp/profile/SAML2/Redirect/SSO` 1. samltest.id prompts you for a username and password. 1. samltest.id returns you an HTML document which contains an HTML form setup to POST to `localhost:8000/saml/acs`. The form is automatically submitted if you have javascript enabled. 1. The local service validates the response, issues a session cookie, and redirects you to the original URL, `localhost:8000/hello`. 1. This time when `localhost:8000/hello` is requested there is a valid session and so the main content is served. Please see `example/idp/` for a substantially complete example of how to use the library and helpers to be an identity provider. The SAML standard is huge and complex with many dark corners and strange, unused features. This package implements the most commonly used subset of these features required to provide a single sign on experience. The package supports at least the subset of SAML known as [interoperable SAML](http://saml2int.org). This package supports the Web SSO profile. Message flows from the service provider to the IDP are supported using the HTTP Redirect binding and the HTTP POST binding. Message flows from the IDP to the service provider are supported via the HTTP POST binding. The package can produce signed SAML assertions, and can validate both signed and encrypted SAML assertions. It does not support signed or encrypted requests. The _RelayState_ parameter allows you to pass user state information across the authentication flow. The most common use for this is to allow a user to request a deep link into your site, be redirected through the SAML login flow, and upon successful completion, be directed to the originally requested link, rather than the root. Unfortunately, _RelayState_ is less useful than it could be. Firstly, it is not authenticated, so anything you supply must be signed to avoid XSS or CSRF. Secondly, it is limited to 80 bytes in length, which precludes signing. (See section 3.6.3.1 of SAMLProfiles.) The SAML specification is a collection of PDFs (sadly): - [SAMLCore](http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf) defines data types. - [SAMLBindings](http://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf) defines the details of the HTTP requests in play. - [SAMLProfiles](http://docs.oasis-open.org/security/saml/v2.0/saml-profiles-2.0-os.pdf) describes data flows. - [SAMLConformance](http://docs.oasis-open.org/security/saml/v2.0/saml-conformance-2.0-os.pdf) includes a support matrix for various parts of the protocol. [SAMLtest](https://samltest.id/) is a testing ground for SAML service and identity providers. Please do not report security issues in the issue tracker. Rather, please contact me directly at [email protected] ([PGP Key `78B6038B3B9DFB88`](https://keybase.io/crewjam)).
17 versions
Latest release: 7 months ago
207 dependent packages

View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/crewjam/saml

View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/crewjam%2Fsaml

Dependent Repos 716

rancher-max/rancher Fork of rancher/rancher
Complete container management platform
  • v0.4.5 go.mod
  • v0.4.5 go.sum

Size: 131 MB - Last synced: 27 days ago - Pushed: 27 days ago

dgfug/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
  • v0.4.6-0.20201227203850-bca570abb2ce go.mod
  • v0.4.6-0.20201227203850-bca570abb2ce go.sum

Size: 420 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

ekmixon/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
  • v0.4.6-0.20201227203850-bca570abb2ce go.mod
  • v0.4.6-0.20201227203850-bca570abb2ce go.sum

Size: 462 MB - Last synced: about 22 hours ago - Pushed: 1 day ago

pawanku2/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 490 MB - Last synced: 22 days ago - Pushed: 24 days ago

francissimo/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
  • v0.4.6-0.20201227203850-bca570abb2ce go.mod
  • v0.4.6-0.20201227203850-bca570abb2ce go.sum

Size: 423 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

soracom/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 677 MB - Last synced: about 1 month ago - Pushed: 4 months ago

harvester/network-controller-harvester
harvester network controller
  • v0.4.5 go.sum

Size: 35.1 MB - Last synced: 9 days ago - Pushed: 16 days ago

L00170150/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 582 MB - Last synced: 3 months ago - Pushed: 3 months ago

stolostron/grafana Fork of grafana/grafana
The tool for beautiful monitoring and metric analytics & dashboards for Graphite, InfluxDB & Prometheus & More
  • v0.4.6-0.20201227203850-bca570abb2ce go.mod
  • v0.4.6-0.20201227203850-bca570abb2ce go.sum

Size: 746 MB - Last synced: about 13 hours ago - Pushed: about 14 hours ago

subspacecommunity/subspace Fork of subspacecloud/subspace
A fork of the simple WireGuard VPN server GUI community maintained
  • v0.4.5 go.mod
  • v0.4.5 go.sum

Size: 21 MB - Last synced: about 5 hours ago - Pushed: 4 months ago

sysdiglabs/redis_exporter Fork of oliver006/redis_exporter
Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x, 4.x, 5.x and 6.x
  • v0.4.6-0.20201227203850-bca570abb2ce contrib/redis-mixin/go.sum

Size: 7.08 MB - Last synced: 4 months ago - Pushed: 4 months ago

EinavPagaya/github-actions-runner-operator Fork of evryfs/github-actions-runner-operator
K8S operator for scheduling github actions runner pods
  • v0.3.2-0.20191206212704-861266e3a689 go.sum

Size: 708 KB - Last synced: about 1 year ago - Pushed: about 1 year ago

gifhuppp/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search (self-hosted)
  • v0.4.6 go.mod
  • v0.4.6 go.sum

Size: 639 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

davidkarlsen/group-sync-operator Fork of redhat-cop/group-sync-operator
Synchronizes groups from external providers into OpenShift
  • v0.4.5 go.sum

Size: 696 KB - Last synced: 7 days ago - Pushed: 7 months ago

hassniazi/terraformer
terraformer light with all providers removed other than aws azure gcp ibm github and gitlab so you can use build -v and still get all the cool providers
  • v0.4.5 go.mod
  • v0.4.5 go.sum

Size: 64.2 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

flyingdodo11/grafana
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 19.7 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

lunarway/release-manager-bot
GitHub app for interacting with release-manager
  • v0.4.6 go.sum

Size: 236 KB - Last synced: about 9 hours ago - Pushed: about 20 hours ago

rancher/rancher
Complete container management platform
  • v0.4.5 go.mod
  • v0.4.5 go.sum

Size: 143 MB - Last synced: 23 days ago - Pushed: 23 days ago

afritzler/awesaml
πŸ›‘οΈServing SSO enabled static web content via a SAML enabled Go backend
  • v0.4.8 go.mod
  • v0.4.8 go.sum

Size: 4.82 MB - Last synced: 5 months ago - Pushed: 5 months ago

paralus/relay
Relay server and agent for kubernetes cluster interactions
  • v0.4.6 go.sum

Size: 576 KB - Last synced: 9 days ago - Pushed: 21 days ago

TUM-Dev/gocast
TUMs lecture streaming service.
  • v0.4.8 go.mod
  • v0.4.8 go.sum

Size: 8.61 MB - Last synced: 25 days ago - Pushed: about 1 month ago

verder-helpen/auth-digid
DigiD authentication plugin for Verder Helpen Platform
  • v0.4.6 go.mod

Size: 4.05 MB - Last synced: about 2 months ago - Pushed: about 2 months ago

belgaied2/harvester-cli
Harvester CLI is a project that aims to provide an opinionated CLI tool to easily manage VMs on Harvester, the promising HCI solution created by Rancher Labs/SUSE
  • v0.4.5 go.sum

Size: 706 KB - Last synced: 9 days ago - Pushed: almost 1 year ago

greenpau/caddy-security
πŸ” Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. πŸ’Ž Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. πŸ’Ž Authorization with JWT/PASETO tokens. πŸ”
  • v0.4.6 go.mod
  • v0.4.6 go.sum

Size: 356 KB - Last synced: about 14 hours ago - Pushed: 29 days ago

nunesvn/fleet Fork of fleetdm/fleet
Open source device management, built on osquery.
  • v0.0.0-20190521120225-344d075952c9 go.sum

Size: 203 MB - Last synced: 25 days ago - Pushed: 26 days ago

SUSE/linux-security-sensor
Linux security sensor
  • v0.4.6-0.20210521115923-29c6295245bd go.mod
  • v0.4.6-0.20210521115923-29c6295245bd go.sum

Size: 61.3 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

redhat-cop/group-sync-operator
Synchronizes groups from external providers into OpenShift
  • v0.4.6 go.sum

Size: 893 KB - Last synced: 25 days ago - Pushed: 26 days ago

jmpsec/osctrl
Fast and efficient osquery management
  • v0.4.6 go.mod
  • v0.4.6 go.sum

Size: 4.39 MB - Last synced: 19 days ago - Pushed: 19 days ago

solo-io/bumblebee
Get eBPF programs running from the cloud to the kernel in 1 line of bash
  • v0.3.2-0.20191206212704-861266e3a689 go.sum
  • v0.4.5 go.sum

Size: 1.84 MB - Last synced: 22 days ago - Pushed: 2 months ago

rancher/terraform-provider-rancher2
Terraform Rancher2 provider
  • v0.4.1 go.sum

Size: 27.9 MB - Last synced: 28 days ago - Pushed: about 1 month ago

podhmo/individual-sandbox
indivisual sandbox
  • v0.4.5 daily/20201105/example_reflectopenapi/go.sum

Size: 27.7 MB - Last synced: 6 months ago - Pushed: 6 months ago

AppkubeCloud/Appkube-Platform
Synectiks AppKubeCloud Platform
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 106 MB - Last synced: 20 days ago - Pushed: 2 months ago

gn1484/grafana
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 539 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

rancher/support-bundle-kit
A toolkit to generate and analyze the support bundles for Kubernetes and Kubernetes-native applications
  • v0.4.5 go.sum

Size: 48 MB - Last synced: 10 days ago - Pushed: 10 days ago

in4it/ecs-deploy
ecs-deploy is a continuous deployment platform for AWS ECS. It automates deploys based a simple json/yaml file which can be integrated in your CI/CD
  • v0.4.6-0.20210521115923-29c6295245bd go.mod
  • v0.4.6-0.20210521115923-29c6295245bd go.sum

Size: 3.67 MB - Last synced: about 13 hours ago - Pushed: about 14 hours ago

harvester/docker-machine-driver-harvester
  • v0.4.5 go.sum

Size: 5.15 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

harvester/terraform-provider-harvester
Terraform Harvester provider
  • v0.4.5 go.sum

Size: 439 KB - Last synced: 28 days ago - Pushed: 28 days ago

Velocidex/velociraptor_migration
A migration tool for velociraptor datastore
  • v0.4.6-0.20210521115923-29c6295245bd go.sum

Size: 28.3 KB - Last synced: about 1 year ago - Pushed: almost 2 years ago

harvester/cloud-provider-harvester
Harvester Cloud Provider
  • v0.4.5 go.sum

Size: 18.6 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

palantir/go-baseapp
A lightweight starting point for Go web servers
  • v0.4.14 go.mod
  • v0.4.14 go.sum

Size: 371 KB - Last synced: 1 day ago - Pushed: 2 days ago

solo-io/skv2
Solo-Kit V2 - Solo.io Operator Framework
  • v0.3.2-0.20191206212704-861266e3a689 go.sum

Size: 78.8 MB - Last synced: 25 days ago - Pushed: 26 days ago

contrun/infra
  • v0.4.6 caddy/go.sum

Size: 942 KB - Last synced: 1 day ago - Pushed: 25 days ago

logzio/logzio-metrics-ui
  • v0.4.6-0.20201227203850-bca570abb2ce go.mod
  • v0.4.6-0.20201227203850-bca570abb2ce go.sum

Size: 14.2 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 1010 MB - Last synced: 25 days ago - Pushed: 25 days ago

uhthomas/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search (self-hosted)
  • v0.4.9 go.mod

Size: 812 MB - Last synced: 10 months ago - Pushed: 11 months ago

rancher/csp-adapter
  • v0.4.5 go.sum

Size: 314 KB - Last synced: 2 days ago - Pushed: 2 days ago

MatteoGioioso/saml-proxy
Small proxy for SAML authentication, mainly developed to allow AWS SSO authentication with Kubernetes dashboards
  • v0.4.5 src/go.mod
  • v0.4.5 src/go.sum

Size: 230 KB - Last synced: 7 days ago - Pushed: 16 days ago

WangHL0927/grafana
grafana-chinese src
  • v0.0.0-20191031171751-c42136edf9b1 go.mod
  • v0.0.0-20191031171751-c42136edf9b1 go.sum

Size: 210 MB - Last synced: 9 months ago - Pushed: about 2 years ago

paralus/paralus
All-in-one Kubernetes access manager. User-level credentials, RBAC, SSO, audit logs.
  • v0.4.6 go.mod
  • v0.4.6 go.sum

Size: 18.6 MB - Last synced: 9 days ago - Pushed: 10 days ago

pulumi/pulumi-okta
An Okta Pulumi resource package, providing multi-language access to Okta
  • v0.4.6 provider/go.sum

Size: 12.1 MB - Last synced: 24 days ago - Pushed: 26 days ago

influenzanet/api-gateway
Service implementation for the API entry point of the backend services
  • v0.4.6-0.20210521115923-29c6295245bd go.mod
  • v0.4.6-0.20210521115923-29c6295245bd go.sum

Size: 500 KB - Last synced: 3 months ago - Pushed: 3 months ago

Scalingo/grafana-scalingo
One click deploy for Grafana on Scalingo
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 411 MB - Last synced: 29 days ago - Pushed: 4 months ago

dollarshaveclub/acyl
Testing Environments On Demand
  • v0.4.5 go.sum

Size: 158 MB - Last synced: 6 months ago - Pushed: 11 months ago

owncloud/ocis-hello
:atom_symbol: Example extension for oCIS
  • v0.4.5 go.sum

Size: 11.5 MB - Last synced: 20 days ago - Pushed: 20 days ago

novalagung/dasarpemrogramangolang-example
πŸ“– Source Code Praktik E-book Dasar Pemrograman Golang
  • v0.4.6 chapter-C.34-sso-saml-sp/go.mod
  • v0.4.6 chapter-C.34-sso-saml-sp/go.sum

Size: 28.4 MB - Last synced: 25 days ago - Pushed: 5 months ago

libregraph/lico
LibreGraph Connect implements an OpenID provider (OP) with integrated web login and consent forms.
  • v0.4.6 go.mod
  • v0.4.6 go.sum

Size: 15.7 MB - Last synced: 16 days ago - Pushed: 16 days ago

nuttamong/Grafana_KKU_logo
  • v0.4.6-0.20201227203850-bca570abb2ce go.mod
  • v0.4.6-0.20201227203850-bca570abb2ce go.sum

Size: 12.2 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

ronhorton/rancher Fork of rancher/rancher
Complete container management platform
  • v0.4.5 go.mod
  • v0.4.5 go.sum

Size: 135 MB - Last synced: 23 days ago - Pushed: 6 months ago

MbolotSuse/csp-adapter Fork of rancher/csp-adapter
  • v0.4.5 go.sum

Size: 239 KB - Last synced: 9 days ago - Pushed: 7 months ago

tekkamanendless/saml-simulator
A SAML simulator to aid in the development and testing of applications that authenticate using SAML.
  • v0.4.6 go.mod
  • v0.4.6 go.sum

Size: 45.9 KB - Last synced: 9 months ago - Pushed: almost 2 years ago

friedrichg/dashboard
Dashboards UI tool
  • v0.4.6-0.20201227203850-bca570abb2ce go.mod
  • v0.4.6-0.20201227203850-bca570abb2ce go.sum

Size: 284 MB - Last synced: 17 days ago - Pushed: about 1 year ago

alexanderzobnin/grafana Fork of grafana/grafana
Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 751 MB - Last synced: about 1 month ago - Pushed: 3 months ago

beastycoding-forks/grafana.grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
  • v0.4.12 go.mod

Size: 833 MB - Last synced: 28 days ago - Pushed: about 1 month ago

mapr/grafana Fork of grafana/grafana
Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB
  • v0.4.6-0.20201227203850-bca570abb2ce go.mod
  • v0.4.6-0.20201227203850-bca570abb2ce go.sum

Size: 899 MB - Last synced: 10 months ago - Pushed: 10 months ago

100star/grafana Fork of grafana/grafana
Grafana - A Graphite & InfluxDB Dashboard and Graph Editor
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 333 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

openshift/grafana Fork of grafana/grafana
The tool for beautiful monitoring and metric analytics & dashboards for Graphite, InfluxDB & Prometheus & More
  • v0.4.9 go.sum
  • v0.4.9 go.mod

Size: 507 MB - Last synced: 29 days ago - Pushed: 6 months ago

danievanzyl/grafana Fork of grafana/grafana
Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB
  • v0.4.8 go.mod

Size: 468 MB - Last synced: 10 months ago - Pushed: about 1 year ago

kobtea/grafana Fork of grafana/grafana
Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB
  • v0.4.6-0.20210521115923-29c6295245bd go.mod

Size: 643 MB - Last synced: 19 days ago - Pushed: 19 days ago

chenrui333/terraformer Fork of GoogleCloudPlatform/terraformer
CLI tool to generate terraform files from existing infrastructure (reverse Terraform).
  • v0.4.5 go.mod
  • v0.4.5 go.sum

Size: 65.2 MB - Last synced: 3 months ago - Pushed: 3 months ago