You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/06/28 10:59:35 UTC

[GitHub] [couchdb] Raggugga commented on issue #3836: Can cookie authentication be combined with JWT authentication?

Raggugga commented on issue #3836:
URL: https://github.com/apache/couchdb/issues/3836#issuecomment-1168571780

   For any JWT token that is valid for a logon, I want to POST to the /_session API and get a session cookie assigned WITHOUT having to provide a username/password (because I already have a valid token). Subsequently, if want to use the session cookie for data I/O without having to use the JWT token again.
   
   The reason why I'm asking is that some people from our infrastucture department had concerns about "abusing" JWT tokens as session cookies, pointing to some internet articles. I cannot take part in that discussion, not sure how "bad" that really would be. But I can somewhat understand, as, for example, MS Web Application Proxy uses an edge token for session management.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org