You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/16 10:53:38 UTC

[GitHub] [airflow] jakubgs commented on issue #14829: Removing a user and repeat OAuth login causes ERR_TOO_MANY_REDIRECTS

jakubgs commented on issue #14829:
URL: https://github.com/apache/airflow/issues/14829#issuecomment-800157018


   After clearing cookies I can see that the first attempt does work, but then it goes into the redirect loop:
   ```
   DEBUG - Provider: github
   DEBUG - Going to call authorize for: github
   "GET /login/github?next=https://airflow.example.org/home HTTP/1.0" 302 945 ...
   DEBUG - Authorized init
   DEBUG - OAUTH Authorized resp: {'access_token': '123qwe123qwe', 'token_type': 'bearer', 'scope': 'read:org,user:email'}
   DEBUG - User info retrieved from github: {'username': 'test-user', 'email': 'test-user@airflow.example.org', 'first_name': 'TestUser', 'last_name': '', 'role_keys': ['devs']}
   DEBUG - No whitelist for OAuth provider
   INFO - Updated user TestUser 
   "GET /oauth-authorized/github?code=123qwe&state=123qwe123qwe123qwe HTTP/1.0" 302 279 ...
   "GET /home HTTP/1.0" 302 321 ...
   DEBUG - Provider: None
   DEBUG - Already authenticated TestUser 
   "GET /login/?next=https%3A%2F%2Fairflow.example.org%2Fhome HTTP/1.0" 302 209 ...
   ...
   ```


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