dwrensha / gitlab-sandstorm

GitLab as a Sandstorm app
20 stars 8 forks source link

What is the logic for username / password generation? #12

Open pgrm opened 9 years ago

pgrm commented 9 years ago

on the first page I see

To clone this repo, copy and paste the below commands:

but every time I reload the page I get a new set of username / password. What is the logic by which those get generated? Why not having one user / pw combination per user or similar?

thx

dwrensha commented 9 years ago

Hi! These credentials are generated using "offer templates", a Sandstorm feature for allowing apps to serve HTTP APIs. See https://docs.sandstorm.io/en/latest/developing/http-apis/#creating-an-offer-template.

In general, we want one set of credentials for each connected device, rather than for each user. Then if you no longer trust one of you devices, you can revoke its access while not affecting your other device.

pgrm commented 9 years ago

ok, thx

xet7 commented 6 years ago

This issue was moved to sandstormports/gitlab-sandstorm#7