You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kibble.apache.org by GitBox <gi...@apache.org> on 2020/10/24 16:24:01 UTC

[GitHub] [kibble] michalslowikowski00 opened a new issue #73: First attempt to login is always failed

michalslowikowski00 opened a new issue #73:
URL: https://github.com/apache/kibble/issues/73


   **Description:**
   The first attempt to login is always failed.
   After providing login credentials and hit the button `Sign In` there is no effect.
   The second try is successful.
   
   **Reproduction steps:**
   1. Run server (follow these steps https://github.com/apache/kibble/blob/master/CONTRIBUTING.md)
   2. Go to http://127.0.0.1:8000/login.html (Chrome or the other web browsers)
   2. Provide credentials
   3. Click the `Sign In` button
   
   **Actual result:**
   The first try ends without any effects. You won't be logged.
   
   **OS:**
   MacOS Catalina
   
   **Logs:**
   N/A
   
   **Other:**
   N/A


----------------------------------------------------------------
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.

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



[GitHub] [kibble] michalslowikowski00 commented on issue #73: First attempt to login is always failed

Posted by GitBox <gi...@apache.org>.
michalslowikowski00 commented on issue #73:
URL: https://github.com/apache/kibble/issues/73#issuecomment-716173391


   Thx @Humbedooh for the answer.
   Which solution would be better?


----------------------------------------------------------------
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.

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



[GitHub] [kibble] Humbedooh commented on issue #73: First attempt to login is always failed

Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #73:
URL: https://github.com/apache/kibble/issues/73#issuecomment-716103837


   Known issue, happens because you don't have a cookie set before your browser visits the login API URL. 
   There are basically two ways we can address this:
   1. fix the way sessions are set up, OR
   2. fire off a pre-flight API request to create a session before login, for instance calling `/api/session` should be enough to seed a new session.


----------------------------------------------------------------
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.

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



[GitHub] [kibble] turbaszek commented on issue #73: First attempt to login is always failed

Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #73:
URL: https://github.com/apache/kibble/issues/73#issuecomment-716178846


   > Which solution would be better?
   
   I would be in favour of 1. but this may be harder to do. Btw. do you think we should fix it now or wait until we refactor the API?
   


----------------------------------------------------------------
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.

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