Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If user has no permissions assigned and tries to login, a redirect loop occours #4077

Closed
bmfmancini opened this issue Jan 22, 2021 · 7 comments
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@bmfmancini
Copy link
Member

bmfmancini commented Jan 22, 2021

No description provided.

@bmfmancini bmfmancini added bug Undesired behaviour unverified Some days we don't have a clue labels Jan 22, 2021
@bmfmancini
Copy link
Member Author

no permissions bug

@bmfmancini
Copy link
Member Author

Bit more info

the issue happens on Firefox and Chrome
If the user has any permission at all there is no issue
Cookies have to be clear from the browser to be able to login to cacti again

Request header

{
"Request headers (405 B)": {
"headers": [
{
"name": "Accept",
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate"
},
{
"name": "Accept-Language",
"value": "en-CA,en-US;q=0.7,en;q=0.3"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cookie",
"value": "Cacti=sv0jkjqc43r4eg1mn3a8c5fdq2"
},
{
"name": "Host",
"value": "192.168.1.22"
},
{
"name": "Upgrade-Insecure-Requests",
"value": "1"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"
}
]
}
}

@TheWitness
Copy link
Member

Those sneaky corner cases. Need to know the exact settings. Screen capture would be great.

@TheWitness
Copy link
Member

Never mind. Animation was better.

@TheWitness TheWitness changed the title [1.2.16] If user has no permissions assigned and tries to login a redirect loop occours If user has no permissions assigned and tries to login a redirect loop occours Jan 23, 2021
TheWitness added a commit that referenced this issue Jan 23, 2021
- If user has no permissions assigned and tries to login a redirect loop occours
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Jan 23, 2021
@TheWitness TheWitness added this to the v1.2.17 milestone Jan 23, 2021
@TheWitness
Copy link
Member

Please test with the latest auth_login.php and report back.

@bmfmancini
Copy link
Member Author

bmfmancini commented Jan 23, 2021 via email

@bmfmancini
Copy link
Member Author

tested and working fine!

@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2021
@netniV netniV changed the title If user has no permissions assigned and tries to login a redirect loop occours If user has no permissions assigned and tries to login, a redirect loop occours Apr 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants