samly icon indicating copy to clipboard operation
samly copied to clipboard

Elixir Plug library to enable SAML 2.0 SP SSO in Phoenix/Plug applications.

Results 18 samly issues
Sort by recently updated
recently updated
newest added

Hey, Before trying to create a PR I want to ask if you would agree to extend the config by adding `cert`, `key` and `metadata` keys in order to load...

@handnot2 are you still maintaining this package or are you interested in handing it off?

So if a user has access in OKTA (for example) to use a given app (Samly SSO enabled), they successfully sign in and later their permissions to that app are...

The idea is to de-correlate identity providers storage from the rest of the application. A `Samly.IdpDataStore.Store` behaviour was created, as well as a default implementation `Samly.IdpDataStore.Config` that does exactly the...

I have recently upgraded my deps from: ``` {:phoenix, "~> 1.3.3"}, {:phoenix_pubsub, "~> 1.0"}, {:phoenix_ecto, "~> 3.2"}, {:postgrex, ">= 0.0.0"}, {:phoenix_html, "~> 2.6"}, {:phoenix_live_reload, "~> 1.0", only: :dev}, {:gettext, "~>...

I'm trying to get IdP initiated logout to work with OneLogin which uses redirects to send the SLO request. Looking at the source code I can see that Samly only...

Hi, we have a case where we store IdPs in database, instead of config file. It allows us to store metadata with a db record.

[Samly.State.Store.get_assetion](https://github.com/handnot2/samly/blob/master/lib/samly/state/store.ex#L42)'s typespec is `get_assertion(Conn.t(), assertion_key(), opts()) :: Assertion.t() | nil` But [here](https://github.com/handnot2/samly/blob/032281091ea933b925f86b537cacfbaa791bacc3/lib/samly/auth_handler.ex#L63) we supply the function with the result of `get_session(conn, "samly_assertion_key")` which will return nil if `"samly_assertion_key"` key is...

SAML metadata can specify multiple IDP providers in one file. As for now Samly is not supporting this. This PR introduces a possibility of using federation metadata in IDP config....