AdguardTeam / AdguardTeam/AdGuardHome

Unable to login to AdGuard Home from a iFrame

Open
#2,783 23 comments 2 reactions 1 assignee Claimed by @ainar-g View on GitHub
research
Dominant language
TypeScript
Stars
36.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**UPDATE ON THE ISSUE:**
**Please check out the issue description and solutions here:**
https://github.com/AdguardTeam/AdGuardHome/issues/2783#issuecomment-1512610995

----

Have a question or an idea? Please search it [on our forum](https://github.com/AdguardTeam/AdGuardHome/discussions) to make sure it was not yet asked. If you cannot find what you had in mind, please [submit it here](https://github.com/AdguardTeam/AdGuardHome/discussions/new).

### Prerequisites

Please answer the following questions for yourself before submitting an issue. **YOU MAY DELETE THE PREREQUISITES SECTION.**

- [x ] I am running the latest version
- [x ] I checked the documentation and found no answer
- [x ] I checked to make sure that this issue has not already been filed

### Issue Details

* **Version of AdGuard Home server:**
* 0.105.1
* **How did you install AdGuard Home:**
* Docker Template
* **How did you setup DNS configuration:**
* N/A
* **If it's a router or IoT, please write device model:**
* N/A
* **CPU architecture:**
* N/A
* **Operating system and version:**
* N/A

### Expected Behavior
I'm running AdguardHome in Docker through UnRaid. Trying to load iframe through a docker front end organizer (DashAssistant) AdGuard Home UI set up as an iFrame panel. Acces through Chrome on Windows 10. The iFrame should load the site, allow login, and full access to the complete UI.

### Actual Behavior
Everything works correctly when HA is launched in a computer web browser. However, after attempting to log on, you are returned to the login screen. No message is generated saying invalid credentials, but if bad credentials are used, that message is displayed. This only happens in the iFrame configuration , going directly to the AdGuard Home web interface works as expected.

### Screenshots

Screenshot:

### Additional Information

See other iframe issue. This is not specific to Home Assistant however.
https://github.com/AdguardTeam/AdGuardHome/issues/1767

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.