Skip to content
Snippets Groups Projects
  1. Sep 29, 2019
    • Daniel Gerhardt's avatar
      Send JWT via cookie instead of redirect query param · 334546cd
      Daniel Gerhardt authored
      A short lived cookie is set for the temporary JWT. The cookie will be
      deleted once the token is manually refreshed.
      
      Because the API's callback isn't directly called by the frontend, it
      doesn't have access to the response. I found three options to pass
      authentication to the frontend: via URL (query param/fragment
      identifier), JavaScript in the callback response or a short lived
      cookie. The cookie is easy to implement and doesn't require any
      knowledge about the frontend.
      334546cd
  2. Sep 28, 2019
  3. Sep 27, 2019
  4. Sep 25, 2019
  5. Sep 24, 2019
  6. Sep 17, 2019
  7. Sep 12, 2019
  8. Sep 09, 2019
  9. Aug 29, 2019
  10. Aug 27, 2019
  11. Aug 26, 2019