aboutsummaryrefslogtreecommitdiffstats
path: root/apps/oauth2
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix(l10n): Update translations from TransifexNextcloud bot2023-10-242-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* adjust phpdoc types in OauthApiControllerJulien Veyssier2023-10-051-4/+4
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* update OpenAPI specsJulien Veyssier2023-10-051-8/+18
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* update autoload filesJulien Veyssier2023-10-052-0/+2
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* adjust oauth appJulien Veyssier2023-10-052-3/+5
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* adjust oauth testsJulien Veyssier2023-10-052-4/+5
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* rename oauth2_access_token's created_at to code_created_atJulien Veyssier2023-10-055-20/+20
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* add db index on oauth2_access_tokens's (token_count, created_at)Julien Veyssier2023-10-051-3/+6
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* add test for refusing to get an oauth token from a code when we're not in ↵Julien Veyssier2023-10-051-0/+27
| | | | | | authorization state Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* delete oauth access token when receiving a code that has expiredJulien Veyssier2023-10-051-0/+3
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* refuse oauth authorization code if a token has already been delivered ↵Julien Veyssier2023-10-051-1/+11
| | | | | | (active token) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* cleanup access tokens that are still in authorization state and that have ↵Julien Veyssier2023-10-056-5/+127
| | | | | | expired Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* add tests for oauth2 authorization code expirationJulien Veyssier2023-10-052-8/+64
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* make oauth2 authorization code expire after 10 minutesJulien Veyssier2023-10-056-7/+97
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Add labels for input fieldsjulia.kirschenheuter2023-09-221-7/+21
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25Joas Schilling2023-08-282-5/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Update nextcloud-vue to v8 beta2 and renamed changed propertiesFerdinand Thiessen2023-08-021-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-07-192-0/+12
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* oauth2: Add OpenAPI specjld31032023-07-123-13/+25
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-07-082-4/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix event names of 2FA related typed eventsJoas Schilling2023-07-033-53/+49
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add bruteforce protection in OauthApiControllerJulien Veyssier2023-06-192-5/+23
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-06-192-6/+24
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* add extra migration that sets the secret column length in case the previous ↵Julien Veyssier2023-06-144-1/+59
| | | | | | step has run when it was setting it to 256 Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* make oauth2 client secret column largerJulien Veyssier2023-06-141-1/+1
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* add test that inserts a long oauth client secretJulien Veyssier2023-06-141-0/+10
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-06-112-4/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-06-102-8/+8
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix oauth2 testsJulien Veyssier2023-06-082-25/+53
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* encrypt oauth2 client secretsJulien Veyssier2023-06-0710-84/+162
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Add OpenAPI specsjld31032023-05-241-0/+216
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-05-212-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* chore(release): Bump requirements and versions in apps/Joas Schilling2023-05-171-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(autoloader): Update autoloaders with composer 2.5.5Joas Schilling2023-04-213-11/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-302-6/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* chore(eslint): fix missing import extensionsJohn Molakvoæ2023-03-232-5/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-03-232-0/+12
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* move mocks into private variablesArtur Neumann2023-03-141-2/+8
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* adjust SettingsController testsArtur Neumann2023-03-141-15/+5
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* public interface to invalidate tokens of userArtur Neumann2023-03-141-9/+2
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* invalidate existing tokens when deleting an oauth clientArtur Neumann2023-03-142-7/+83
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* chore(release): Bump requirements and versions in apps/Joas Schilling2023-03-031-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-172-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-122-6/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* chore(autoloaders): Update autoloader files for Composer 2.5.1Christoph Wurst2023-01-252-16/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-01-122-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix PHP error on PHP >= 8.2 about dynamic property use in testsCôme Chilliet2022-12-191-1/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* rename SabrePublicPluginEvent to BeforeSabrePubliclyLoadedEvent, run ↵Julien Veyssier2022-12-151-2/+2
| | | | | | build/autoloaderchecker.sh Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Update composer autoloaderCarl Schwan2022-11-222-4/+17
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix missing native submit type from OAuth client add buttonChristoph Wurst2022-11-171-1/+1
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>