[BUG] Cannot sign in Extension
alexnguyen2201 opened this issue · comments
Describe the bug:
When I test http service, and must have sign to extension but, with chrome, I put:
Enter TrasaCore Hostname: https://localhost
Your Email: root
TOTP code: from IPhone
and the dialog: Login Failed
With Firefox and put same data, It runs forever, non stop, i waited but it didn't login.
Expected behavior:
A clear and concise description of what you expected to happen.
Open TRASA dashboard at https://localhost
2021/08/06 16:22:54 http: TLS handshake error from 172.17.0.1:62282: remote error: tls: unknown certificate
2021/08/06 16:23:01 http: TLS handshake error from 172.17.0.1:62292: remote error: tls: unknown certificate
2021/08/06 16:23:01 http: TLS handshake error from 172.17.0.1:62300: remote error: tls: unknown certificate
time="2021-08-06T16:23:37Z" level=error msg="no csrf token" func=github.com/seknox/trasa/server/middlewares.SessionValidator.func1 file="middlewares/session.go:35"
time="2021-08-06T16:24:13Z" level=error msg="no csrf token" func=github.com/seknox/trasa/server/middlewares.SessionValidator.func1 file="middlewares/session.go:35"
time="2021-08-06T16:24:31Z" level=error msg="no csrf token" func=github.com/seknox/trasa/server/middlewares.SessionValidator.func1 file="middlewares/session.go:35"
3 last lines appear when i click authorize in extension
If applicable, add logfile or code snippets or screenshots to help explain your problem.
Scope of issue:
- TRASA codebase
- dashboard
- server
- mobile app
- [*] browser extension
- device agent
- website/docs
Versions:
- TRASA version 1.1.4
- OS (in which TRASA is installed): MacOS BigSur 11.2.3
- Browser: Chorme 92.0.4515.131 (Official Build) (arm64), FireFox 90.0.2
- Mobile device type and version (if issue is related to TRASA mobile app)
Additional context:
Add any other context about the problem here.
It relates to #296 . The extension is kind off a wall for the adoption of the software.
It relates to #296 . The extension is kind off a wall for the adoption of the software.
tks you 👍