Subdomain authorization #1093
Unanswered
dkornilove
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Could you please send me the link to the prod and dev site here or privately? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have site https://example.com
I have a dev copy of it on the same server with 'dev' subdomain http://dev.example.com
It can be accessed from the internet but it has not ssl
Remark is configured for the backend url https://example.com/remark and working perfectly within the main site
About six month ago it does work the same way on the dev copy without any additional configurations
but unfortunately authorization does not work on the dev copy now
When i hit sign in in the remark form with any third party oauth app being on the http://dev.example.com/blogpost1 it jumps to the new tab then closed and I can see https://example.com/remark/api/v1/user?site=site GET 401 error with "Unauthorized" response. When I login with email the process completed fine and looks like Im logged as an email user but when i try to submit a message it still responsing as for unathorized user.
What has been changed and how should I handle the same endpoint but for dev subdomain without ssl?
Beta Was this translation helpful? Give feedback.
All reactions