gitlab-sandstorm icon indicating copy to clipboard operation
gitlab-sandstorm copied to clipboard

What is the logic for username / password generation?

Open pgrm opened this issue 9 years ago • 3 comments

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

pgrm avatar Oct 30 '15 12:10 pgrm

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.

dwrensha avatar Oct 30 '15 12:10 dwrensha

ok, thx

pgrm avatar Oct 30 '15 13:10 pgrm

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

xet7 avatar Jul 31 '18 19:07 xet7