1. 27 Feb, 2017 1 commit
    • Eric Chiang's avatar
      storage/kubernetes: fix conflict error detection in TRP creation · a7b8e52b
      Eric Chiang authored
      PR #815 fixed the Kubernetes storage implementation by correctly
      returning storage.ErrAlreadyExists on POST conflicts. This caused a
      regression in TPR creation (#822) when some, but not all, of the
      resources already existed. E.g. for users upgrading from old
      versions of dex.
      
      Fixes #822
      a7b8e52b
  2. 24 Feb, 2017 3 commits
  3. 23 Feb, 2017 2 commits
  4. 22 Feb, 2017 3 commits
  5. 21 Feb, 2017 2 commits
  6. 20 Feb, 2017 1 commit
  7. 15 Feb, 2017 2 commits
  8. 14 Feb, 2017 2 commits
  9. 10 Feb, 2017 2 commits
  10. 07 Feb, 2017 2 commits
  11. 06 Feb, 2017 3 commits
  12. 03 Feb, 2017 1 commit
  13. 02 Feb, 2017 2 commits
    • Eric Chiang's avatar
      {web,server}: use html/template and reduce use of auth request ID · 72a431dd
      Eric Chiang authored
      Switch from using "text/template" to "html/template", which provides
      basic XSS preventions. We haven't identified any particular place
      where unsanitized user data is rendered to the frontend. This is
      just a preventative step.
      
      At the same time, make more templates take pure URL instead of
      forming an URL themselves using an "authReqID" argument. This will
      help us stop using the auth req ID in certain places, preventing
      garbage collection from killing login flows that wait too long at
      the login screen.
      
      Also increase the login session window (time between initial
      redirect and the user logging in) from 30 minutes to 24 hours,
      and display a more helpful error message when the session expires.
      
      How to test:
      
      1. Spin up dex and example with examples/config-dev.yaml.
      2. Login through both the password prompt and the direct redirect.
      3. Edit examples/config-dev.yaml removing the "connectors" section.
      4. Ensure you can still login with a password.
      
      (email/password is "admin@example.com" and "password")
      72a431dd
    • rithu leena john's avatar
      Merge pull request #794 from rithujohn191/saml-doc · 12f96936
      rithu leena john authored
      Documentation: Minor changes to SAML connector doc.
      12f96936
  14. 01 Feb, 2017 3 commits
  15. 27 Jan, 2017 6 commits
  16. 26 Jan, 2017 2 commits
    • Holger Koser's avatar
      vendor: revendor · 27a1e9f1
      Holger Koser authored
      27a1e9f1
    • Holger Koser's avatar
      Improve SAML Signature and Response Validation · e46f2ebe
      Holger Koser authored
      * Improve Order of Namespace Declarations and Attributes in Canonical XML. This is related to an issue in goxmldsig for which I created an [pull request](https://github.com/russellhaering/goxmldsig/pull/17).
      * Do not compress the AuthnRequest if `HTTP-POST` binding is used.
      * SAML Response is valid if the Message and/or the Assertion is signed.
      * Add `AssertionConsumerServiceURL` to `AuthnRequest`
      * Validate Status on the Response
      * Validate Conditions on the Assertion
      * Validation SubjectConfirmation on the Subject
      e46f2ebe
  17. 24 Jan, 2017 1 commit
  18. 23 Jan, 2017 2 commits