-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Examples or tutorials? #545
Comments
Hi @ekafyi, thanks for opening this issue. Very keen to improve the documentation where I can, so let’s try and resolve this issue, and then from that, work out which instructions can be improved or added. A few questions to help me diagnose:
On this suggestion:
Do you mean like a working demo, so you can see what a server looks like when you log in? That sounds like a good idea, will need to figure out how to set that up (i.e. daily resets). |
Hi Paul, thanks for the response. (1) Yes I have both env variables set. Sample code: https://github.com/ekafyi/coba-ik
(2) Log in to my own server. (I presume this CMS app would be our server, is that correct?) (3) Steps I took to reproduce the error:
Looks like the expected response of that last endpoint should be a redirect or stringified JSON body of some sort, but instead it renders a view (ie. HTML doc). Not sure it's relevant, but this is the parsed value of the
Yes, that would be great. |
Okay, looking at your configuration files, you have values set for the following:
You needn’t add values for these options ( If you remove these values, does that fix this issue? |
Thanks for creating this library!
Unfortunately I could not get the indiekit server auth to work, specifically when redirecting back to
/session/auth
with the code query param. Based on the docs, after completing steps 1 to 4, I should be able to authorise my app:I'm hesitant to file an issue on my specific error because I suspect I might be misunderstanding the docs or missing something obvious here (should I be modifying the underlying indiekit Express app myself? should I add a middleware to get the bearer token and store it in cookies?).
Describe the solution you’d like
Being able to see a working barebones example—even with no privilege checked and no DB connected—would help immensely. It would also help to have such examples in the "Resources" section of the docs.
Describe alternatives you’ve considered
Browse github for
indiekit
https://github.com/topics/indiekit — no result other than the config exampleEdit: Sorry for the inaccurate (auto) label; it should be
docs
instead ofenhancement
.The text was updated successfully, but these errors were encountered: