1
0
Fork 0
forked from mirror/pixelfed
Commit graph

20 commits

Author SHA1 Message Date
Daniel Supernault
7cfae612db
Updated AuthServiceProvider, added support for configurable OAuth tokens and refresh tokens lifetime 2020-11-21 20:24:36 -07:00
delthas
748a3be46d Add support for configurable OAuth tokens and refresh tokens lifetime
Previously, the lifetime of tokens and refresh tokens was hardcoded at
15 and 30 days.

Some instances administrators may wish to change these values.

This makes these two values configurable with the two .env variables:
OAUTH_TOKEN_DAYS and OAUTH_REFRESH_DAYS which are the lifetime in days
for these two tokens and refresh tokens.
2020-08-31 23:16:42 +02:00
Daniel Supernault
344b0c94cd
Update cors dep 2020-06-11 18:39:03 -06:00
Daniel Supernault
7faa9d8e61
Add S3 + Stories 2019-12-31 02:33:54 -07:00
Daniel Supernault
43d4517f71
Update AuthServiceProvider 2019-10-21 00:00:07 -06:00
Daniel Supernault
4fa5ca4f82
Update AuthServiceProvider 2019-10-20 23:06:06 -06:00
Daniel Supernault
0397c959f0
Update AuthServiceProvider 2019-10-01 18:31:05 -06:00
Daniel Supernault
dbcd5ff2e4
Update AuthServiceProvider 2019-09-30 23:36:37 -06:00
Daniel Supernault
e10b2b93a4
Update AuthServiceProvider 2019-09-30 23:03:35 -06:00
Daniel Supernault
6d6f517db0
Update AuthServiceProvider 2019-09-30 22:59:16 -06:00
Daniel Supernault
505b9ee732
Update AuthServiceProvider 2019-09-13 20:17:00 -06:00
Daniel Supernault
e359b6b98a
Update AuthServiceProvider 2019-09-13 19:55:24 -06:00
Daniel Supernault
bedb42baca
Update config, make oauth opt-in 2019-04-17 19:45:23 -06:00
Daniel Supernault
c4151c3751
Update AuthServiceProvider 2019-04-08 01:30:47 -06:00
Daniel Supernault
4674a6d1b1
Disable oauth until bugs are fixed 2019-02-13 21:33:39 -07:00
Daniel Supernault
e61c6a06e0
Update AuthServiceProvider, add oauth support 2019-01-13 22:27:42 -07:00
Daniel Supernault
2ed9de6912
Update AuthServiceProvider 2018-12-31 22:48:45 -07:00
Daniel Supernault
ac27365a63
Add laravel passport 2018-12-30 21:30:57 -07:00
daniel
b8abbdd90f Apply fixes from StyleCI 2018-08-28 03:07:36 +00:00
Daniel Supernault
a034358c98 Add Laravel Framework 2018-04-15 17:56:48 -06:00