cesanta / docker_auth

Authentication server for Docker Registry 2
Apache License 2.0
1.28k stars 305 forks source link

More details on Expiration #372

Open bengivre opened 1 year ago

bengivre commented 1 year ago

Hello, I would like to understand more how expiration token take place ?

Default configuration is 900 Expiration is in minutes right ? So it's 15h , that is for the docker registry token I suppose.

I am using Github auth.

How long are GitHub tokens valid for ?

I see the configuration mention the following revalidate_after: "1h"

I'm trying to figure how/when the Github token generated by auth will expire ?

How people manage :

Thanks

bengivre commented 1 year ago

Updated my initial question . thanks