-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
auth failed #1129
Comments
Could you please try using |
Okay it works. I had remark on a different domain than the website I wanted to activate it on. thanks! |
I have the same issue when using a site on a different domain:
In the browser, I get 401 and Unauthorize after logging in. I want to use one docker instance on remark.example1.com for all of my sites, including other domains. I presume this is supported? I have enabled CORS in my example1.com site (please check the virtual host config down below). Basically, I have added both sites example1.com and example2.com in yml and disabled docker cors with PROXY_CORS=true, but it's not working. If I switch to use the exact site either example1 or example2 it works but when I try to access e.g. site example2.com on remark.example1.com it doesn't work. This is my yml file
My Apache virtual host for remark.example1.com looks something like this:
Thanks for help. |
I run remark in docker and followed all instructions, including the google , twitter and github authentication, but after successfully logging in in these ways I can't get any further.
it doesn't indicate that I'm logged in, so I can't comment on the page where I want to load it, either.
the error is:
2021/09/09 09:17:59.609 [DEBUG] {middleware/auth.go:71 middleware.(*Authenticator).auth.func1} auth failed, can't get token: token cookie was not presented: http: named cookie not present
I use remark in combination with hugo
my docker compose looks like. ofcourse the real values are removed , so I replaced it with "key"
when I go to https://remark.mydomain.com/api/v1/user?site=remark
it gives me Unauthorized...
strange because I've set the environment variable as remark..
this is how the comments page looks like in Hugo
The text was updated successfully, but these errors were encountered: