mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[GH-ISSUE #194] Unable to login on macos #144
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#144
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fnino on GitHub (Oct 9, 2019).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/194
I downloaded latest release of shiori, latest golang compiler, and installed it natively on macos 10.13. Runs on commandline ok: can add, print, and serve. sqlite db is created ok. However, despite using the default login and passwork, i cannot get past the login screen on the webserver. Line 78 in handler-api.go gets executed alright, but no session is opened...
@fnino commented on GitHub (Oct 9, 2019):
Did the same on a linux box and it works ok....!
@RadhiFadlillah commented on GitHub (Oct 9, 2019):
Hi @fnino
Unfortunately, I don't have any MacOS machine to test it. Are there any error message in terminal or in web console ? And what is your browser ?
Thank you.
@StefanCohen commented on GitHub (Oct 9, 2019):
I don't know if it is related but the latest release prevents me from logging in with my regular username/password on OSX. Credentials are coming from Keychain, so no typos. Server running in docker on Ubuntu host.
@nfam commented on GitHub (Oct 11, 2019):
@RadhiFadlillah on macOS, it works on Firefox but does not on Safari. I debugged and found the issue at
I replaced
${document.baseURI}with/, and it worked.Therefore, the problem should be:
Pathon Safari must a valid path (starting with/in URI spec); butdocument.baseURIis not since it starts with scheme and host.@RadhiFadlillah commented on GitHub (Oct 11, 2019):
Thanks @nfam 👍
@fnino could you check it out again ?
@fnino commented on GitHub (Oct 11, 2019):
Yes ! It works!! Thanks !
Fernando
On Fri, Oct 11, 2019 at 07:17:16AM +0000, Radhi wrote:
--
Fernando NIÑO
LEGOS (UMR5566 CNES/CNRS/IRD/UPS) 18, Av. Edouard Belin
Tél: 05.61.33.47.38 31401 Toulouse Cedex 9