]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Add client_credentials as grant_type oauth-changes 3068/head
authorThomas Citharel <tcit@tcit.fr>
Sun, 30 Apr 2017 07:16:55 +0000 (09:16 +0200)
committerThomas Citharel <tcit@tcit.fr>
Wed, 14 Jun 2017 15:53:52 +0000 (17:53 +0200)
commit0f8268c93e6210d368f9dcd1900274871a9eacdf
tree251024ae114d2a14a67399ba28d02ddb6d031bad
parentf93a3109a5f0999dbbd69131c9e5041c390120c9
Add client_credentials as grant_type

Therefore, username and password are no longer needed

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Allow to have global clients, auth through direct token or auth code and bring scopes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
fix review

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
remove redirect uri requirement on specific clients

add back password and depreciate it

enforce state

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Allow apps to register themselves

A handful of changes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
change timeout values

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
set access_token lifetime to 1 year and double for refresh_token

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
47 files changed:
app/Resources/FOSOAuthServerBundle/views/Authorize/authorize.html.twig [new file with mode: 0644]
app/Resources/FOSOAuthServerBundle/views/Authorize/authorize_content.html.twig [new file with mode: 0644]
app/Resources/static/themes/material/css/various.scss
app/Resources/static/themes/material/index.js
app/config/config.yml
app/config/routing.yml
app/config/security.yml
src/Wallabag/ApiBundle/Controller/AnnotationRestController.php
src/Wallabag/ApiBundle/Controller/AppsController.php [new file with mode: 0644]
src/Wallabag/ApiBundle/Controller/DeveloperController.php [deleted file]
src/Wallabag/ApiBundle/Controller/EntryRestController.php
src/Wallabag/ApiBundle/Controller/TagRestController.php
src/Wallabag/ApiBundle/Entity/AccessToken.php
src/Wallabag/ApiBundle/Entity/Client.php
src/Wallabag/ApiBundle/Form/Type/ClientType.php
src/Wallabag/ApiBundle/Repository/AccessTokenRepository.php [new file with mode: 0644]
src/Wallabag/ApiBundle/Resources/config/services.yml [new file with mode: 0644]
src/Wallabag/CoreBundle/Resources/translations/messages.da.yml
src/Wallabag/CoreBundle/Resources/translations/messages.de.yml
src/Wallabag/CoreBundle/Resources/translations/messages.en.yml
src/Wallabag/CoreBundle/Resources/translations/messages.es.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml
src/Wallabag/CoreBundle/Resources/translations/messages.it.yml
src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml
src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml
src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client_parameters.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/howto_app.html.twig [deleted file]
src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
web/assets/appicons/.gitkeep [new file with mode: 0644]
web/assets/appicons/Firefox-logo.svg [new file with mode: 0644]
web/assets/appicons/Logo_Google_Chrome.svg [new file with mode: 0644]
web/assets/appicons/android_full.png [new file with mode: 0644]
web/assets/appicons/appstore.svg [new file with mode: 0644]
web/assets/appicons/browser.png [new file with mode: 0644]
web/assets/appicons/fdroid.png [new file with mode: 0644]
web/assets/appicons/google_play.png [new file with mode: 0644]
web/assets/appicons/iOS_full.png [new file with mode: 0644]
web/assets/appicons/ios.png [new file with mode: 0644]
web/assets/appicons/opera-for-computers_icon_128x128.png [new file with mode: 0644]
web/assets/appicons/windows.jpeg [new file with mode: 0644]
web/assets/appicons/windowsstore.png [new file with mode: 0644]