1. 11 Dec, 2017 1 commit
  2. 08 Dec, 2017 1 commit
    • Stephan Renatus's avatar
      handlers/connector_login: update AuthRequest irregardless of method · f18d7afc
      Stephan Renatus authored
      Before, you could not POST your credentials to a password-connector's
      endpoint without GETing that endpoint first. While this makes sense for
      browser clients; automated interactions with Dex don't need to look at
      the password form to fill it in.
      
      A symptom of that missing GET was that the POST succeeded (!) with
      
          login successful: connector "", username="admin", email="admin@example.com", groups=[]
      
      Note the connector "". A subsequent call to finalizeLogin would then
      fail with
      
          connector with ID "" not found: failed to get connector object from storage: not found
      
      Now, the connector ID of an auth request will be updated for both GETs
      and POSTs.
      Signed-off-by: 's avatarStephan Renatus <srenatus@chef.io>
      f18d7afc
  3. 05 Dec, 2017 2 commits
  4. 04 Dec, 2017 1 commit
  5. 01 Dec, 2017 5 commits
  6. 28 Nov, 2017 3 commits
  7. 23 Nov, 2017 2 commits
  8. 13 Nov, 2017 3 commits
  9. 10 Nov, 2017 2 commits
  10. 09 Nov, 2017 1 commit
    • Stephan Renatus's avatar
      password connectors: allow overriding the username attribute (password prompt) · b09a1345
      Stephan Renatus authored
      This allows users of the LDAP connector to give users of Dex' login
      prompt an idea of what they should enter for a username.
      
      Before, irregardless of how the LDAP connector was set up, the prompt
      was
      
          Username
          [_________________]
      
          Password
          [_________________]
      
      Now, this is configurable, and can be used to say "MyCorp SSO Login" if
      that's what it is.
      
      If it's not configured, it will default to "Username".
      
      For the passwordDB connector (local users), it is set to "Email
      Address", since this is what it uses.
      Signed-off-by: 's avatarStephan Renatus <srenatus@chef.io>
      b09a1345
  11. 08 Nov, 2017 4 commits
  12. 06 Nov, 2017 4 commits
  13. 03 Nov, 2017 1 commit
  14. 02 Nov, 2017 1 commit
  15. 31 Oct, 2017 4 commits
  16. 30 Oct, 2017 1 commit
  17. 27 Oct, 2017 4 commits