Commit Graph

17 Commits

Author SHA1 Message Date
Arne Luenser f56e5fad74 fix: append /v2 to module path 2023-01-28 08:40:41 +01:00
Kevin Goslar d768cf6580
docs: standardize license headers (#3216) 2022-11-03 10:10:12 -05:00
aeneasr 3a263854d8 fix: make servicelocator explicit 2022-09-07 08:10:31 +02:00
aeneasr 81e79f2a34 refactor: `hydra token client` command
BREAKING CHANGE: The `hydra token client` command has been renamed to `hydra perform client-credentials` and now supports structured output (JSON, tables, ...).
2022-09-07 08:10:31 +02:00
aeneasr e2526547b1 feat(cli): improve migrate command handling 2022-09-07 08:10:31 +02:00
Alano Terblanche f039ebbdf3
feat: flush inactive/expired login and consent requests (#2381)
This patch resolves various table growth issues caused by expired/inactive login and consent flows never being purged from the database.

You may now use the new `hydra janitor` command to remove access & refresh tokens and login & consent requests which are no longer valid or used. The command follows the `notAfter` safe-guard approach to ensure records needed to be kept are not deleted.

To learn more, please use `hydra help janitor`.

This patch phases out the `/oauth2/flush` endpoint as the janitor is better suited for background tasks, is easier to run in a targeted fashion (e.g. as a singleton job), and does not cause HTTP timeouts.

Closes #1574
2021-03-24 20:58:44 +01:00
Dave Kushner 025acfb23d cmd: Update migrate sql flag -e help message (#1412)
Updates `hydra migrate sql -e` command message to indicate that environment flag will pull from config file.

Signed-off-by: David Kushner <david.kushner@byton.com>
2019-05-02 10:11:47 +02:00
aeneasr a4a27179d9 cmd: Add migration planning
Closes #1139

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-27 10:45:49 +02:00
Matt Drollette 14f494ce90 cmd: fix help text on migrate cmd (#1372)
Signed-off-by: Matt Drollette <matt@drollette.com>
2019-04-19 10:14:33 +02:00
Sawada Shota f964c69f07 docs: Fix environment variable DATABASE_URL to DSN (#1343)
Signed-off-by: Shota Sawada <xiootas@gmail.com>
2019-04-04 10:35:45 +02:00
Aeneas 6ba64e4f70
cmd: Allows reading database from env in migrate sql (#898)
Closes #896
2018-06-03 16:40:46 +02:00
Aeneas 366ed57d9c
all: Updates license headers (#793) 2018-03-08 10:27:18 +01:00
Aeneas dcbd6d8fcb
Add license header to all source files (#644)
Closes #643
2017-11-06 13:01:53 +01:00
Aeneas Rekkas (arekkas) 0985a594e1 all: goimports 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) 819d4b40de cmd: implement better migration handling 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) 91dc02628c all: goimports 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) 5b2e737ba5 cmd: add migrate dummies 2017-05-07 10:52:08 +02:00