Open FarSideHub opened 6 years ago
Hello @FarSideHub , welcome to the community. Thanks for your report and for using NoteSelf.
I'm not sure whether this is an appropriate place to ask, so I'm sorry if the general google group would've been better.
This is a perfect place for this kind of questions. The google groups is too noisy to catch my attention about an specific topic, so feel free to post whatever you need here until we create a forum for NS.
I'd like to be able to stay logged in to Cloudant. One or another of my devices will log out every now and then, which is really frustrating.
This is on my todo-list: danielo515/tiddlypouch#69 . I admit that it is very frustrating. The best solution involves creating an api token when you login and then store that token. This way you will be able to delete the token if it is required at any moment. Sadly this requires some programming on the server side, and my plan is to create a NoteSelf service with this functionality. This will be my priority over anything else. Another solution would involve saving the credentials inside the browser storage in a more or less secure way. At the end, browser storage it's suppossed to be only accesible from apps on the same domain. What we do know is trying to keep the cookie alive as soon as NoteSelf is open, so this is an improvement from the previous implementation.
Anyway, I understand your frustration because it happens to me too. This is specially problematic now that the cloudant interface has changed and the way it is used and credentials are very long and cumbersome.
I could only get NoteSelf set up because of Carl Kibler's comment on the 'Configure NoteSelf Sync' video
Could you share that video ? It will be awesome to include it on the FAQ.
Sorry I couldn't work out how to label this post 'Help Wanted' either.
Only the repository owner can add tags, don't worry about it. In this repository Help Wanted
means that we as NoteSelf owners want help trying to implement or document something. User questions are labeled as question.
Regards
Thanks for your reply, it's helpful.
The instructions that helped me modify the instructions in your video were written in a comment on your video (linked in the noteself website).
I'll quote it here:
" Carl Kibler (not the original video poster) I will try a screencast showing how to do this with the updated UI at BlueMix/Cloudant.
In short: There are 2 separate admin UIs. One is for your Cloudant instances as a BlueMix resource, then one for the Cloudant DB itself.
In the first, you should see Manage, Service Credentials, Plan, and Connections. Under Service Credentials, generate one. The very long URL created is the one you need for NoteSelf - it contains username and password embedded in the URL.
Then do "Launch" button from the Manage page. Create a Database. The name you give it, like 'tiddlywiki' is what goes into NoteSelf for Database Name field.
Then also do the CORS change shown in the video. "
On Thu, Mar 22, 2018, 00:49 Daniel Rodríguez Rivero < notifications@github.com> wrote:
Hello @FarSideHub https://github.com/farsidehub , welcome to the community. Thanks for your report and for using NoteSelf.
I'm not sure whether this is an appropriate place to ask, so I'm sorry if the general google group would've been better.
This is a perfect place for this kind of questions. The google groups is too noisy to catch my attention about an specific topic, so feel free to post whatever you need here until we create a forum for NS.
I'd like to be able to stay logged in to Cloudant. One or another of my devices will log out every now and then, which is really frustrating.
This is on my todo-list: tiddlypouch#69 I admit that it is very frustrating. The best solution involves creating an api token when you login and then store that token. This way you will be able to delete the token if it is required at any moment. Sadly this requires some programming on the server side, and my plan is to create a NoteSelf service with this functionality. This will be my priority over anything else. Another solution would involve saving the credentials inside the browser storage in a more or less secure way. At the end, browser storage it's suppossed to be only accesible from apps on the same domain. What we do know is trying to keep the cookie alive as soon as NoteSelf is open, so this is an improvement from the previous implementation.
Anyway, I understand your frustration because it happens to me too. This is specially problematic now that the cloudant interface has changed and the way it is used and credentials are very long and cumbersome.
I could only get NoteSelf set up because of Carl Kibler's comment on the 'Configure NoteSelf Sync' video
Could you share that video ? It will be awesome to include it on the FAQ.
Sorry I couldn't work out how to label this post 'Help Wanted' either.
Only the repository owner can add tags, don't worry about it. In this repository Help Wanted means that we as NoteSelf owners want help trying to implement or document something. User questions are labeled as question.
Regards
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NoteSelf/NoteSelf.github.io/issues/54#issuecomment-374988009, or mute the thread https://github.com/notifications/unsubscribe-auth/AZTkM6bTf0z86HEeYbI7KPreneKEaqOMks5tgnaQgaJpZM4Sp0ng .
This is specially problematic now that the cloudant interface has changed and the way it is used and credentials are very long and cumbersome.
I see there are some node.js libraries that should make hardest part: transform api key into bearer token. Is it possible to use them in NS?
I have my own setup with a self-hosted couchdb and also suffer from this problem. It seems a login does not survive a single day, which is a major annoyance.
I'll check if adding user@password style credentials to the couchdb url fixes this. I doubt it does because the login workflow is unaware of this. Naturally, it takes a while to know if it works.
Including username and password in URL didn't help for me.
On Sun, 23 May 2021, 19:41 Schnittchen, @.***> wrote:
I have my own setup with a self-hosted couchdb and also suffer from this problem. It seems a login does not survive a single day, which is a major annoyance.
I'll check if adding @.*** style credentials to the couchdb url fixes this. I doubt it does because the login workflow is unaware of this. Naturally, it takes a while to know if it works.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NoteSelf/NoteSelf.github.io/issues/54#issuecomment-846541489, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKOIM5WTRO5N5PUKX5HYJ3TPDLVDANCNFSM4EVHJHQA .
@schnittchen Take a look here:
https://docs.couchdb.org/en/latest/api/server/authn.html#cookie-authentication
I'm not sure whether this is an appropriate place to ask, so I'm sorry if the general google group would've been better.
I'd like to be able to stay logged in to Cloudant. One or another of my devices will log out every now and then, which is really frustrating.
I could only get NoteSelf set up because of Carl Kibler's comment on the 'Configure NoteSelf Sync' video (Thanks Carl! I think I'll quote it at the bottom of this post in case it'll help anyone reading.)
Is there a way to stay logged in or use the Cloudant API? I had a quick try, but I don't really understand how it works, tbh.
Sorry I couldn't work out how to label this post 'Help Wanted' either.