Unable to use access
(does not affect localhost)
#1904
-
Bug ReportOn localhost, everything works as expected. But once I host my Payload implementation, I get a 403 on any access point that is not Steps to Reproduce
Other DetailsExample Access Code:
Example Access Code with output logs:
Example image of container logs from Northflank showing that the check are passing when hitting the other-other detailsI did try setting all of my Finally, this is my first time using PayloadCMS, and I am hoping that I made some very simple mistake somewhere. Thank you in advance for you help! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
@Barbacoa08 did you read the common issues at the bottom of that article? It sounds very similar to your issue above, let us know and we can go from there 👍 |
Beta Was this translation helpful? Give feedback.
-
@JarrodMFlesch, I did check the common issues and that wasn't it. I triple checked my DB connection string testing on both my localhost and my docker environment and it's the same in both. |
Beta Was this translation helpful? Give feedback.
-
You have your I am going to turn this into a discussion as I don't think this is an issues with payload. Lets continue this convo there! |
Beta Was this translation helpful? Give feedback.
-
Alternatively, I am not strongly tied to any particular build system, is there a tutorial for setting up Payload CMS end-to-end? The only reason I went with Northflank was because they had a tutorial for how to fully setup Payload CMS including a DB and file storage. But if there is another, recommended, way, I'm happy to try it out. I've never setup a CMS before, so this is pretty new territory for me and I'm floundering a bit 😅 |
Beta Was this translation helpful? Give feedback.
-
The issue I was having was that I wasn't adding |
Beta Was this translation helpful? Give feedback.
The issue I was having was that I wasn't adding
http
/https
to my URLs in thecsrf
section. As described by this comment in a different conversation.