cem / gogs-sandstorm

Gogs for the Sandstorm platform
11 stars 8 forks source link

Username/Password Access #18

Open boredland opened 6 years ago

boredland commented 6 years ago

I would like to use "Drone.io" to crawl through my repositories: http://readme.drone.io/admin/setup-gogs/ This would require user/password login - is there a way to enable me to set this kind of password?

ocdtrekkie commented 6 years ago

I feel like the same credentials you'd use to set your Git client up should work, since that's effectively an HTTPS API endpoint for your Gogs repo. Note that you have to make a request to it within a few minutes of seeing the credentials generated in the offer template on Gogs for the credentials to be kept.

Sent from my Windows 10 phone

From: Jonas Strassel Sent: Saturday, June 30, 2018 5:02 AM To: cem/gogs-sandstorm Cc: Subscribed Subject: [cem/gogs-sandstorm] Username/Password Access (#18)

I would like to use "Drone.io" to crawl through my repositories: http://readme.drone.io/admin/setup-gogs/ This would require user/password login - is there a way to enable me to set this kind of password? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

boredland commented 6 years ago

Tried that, but the, seemed to be 'wrong'. Seither way: i want them to be somewhat persistent, so in can use them to login.

ocdtrekkie commented 6 years ago

I'm not super familiar with either Gogs' API setup or drone.io, so I probably can't be too much more help here. But FYI with regards to Sandstorm's offer template keys, once they're used once, they are persistent. So if someone can figure out how to access that API via that system, it should do what you need, I think.