gholt / swauth

This is the historical location of Swauth; active development is now at https://github.com/openstack/swauth
45 stars 30 forks source link

Add X-Auth-Token-Lifetime and user_set_tokenlifetime option #48

Closed cschwede closed 11 years ago

cschwede commented 11 years ago

Hello,

first thank your very much for your work on swauth!

I just added an configuration option to swauth which allows users to set the token lifetime when requesting a new one. It's off by default and can be enabled with the option user_set_tokenlifetime in the proxy conf.

Some of our users need tokens with a longer lifetime because they use them in batch jobs.

Best Regards,

Christian

gholt commented 11 years ago

Cool, thanks for the suggestion -- and sorry it took me two weeks to get to it. :)