Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend access token #4292

Closed
joshp23 opened this issue Mar 9, 2020 · 1 comment · Fixed by #4319
Closed

Extend access token #4292

joshp23 opened this issue Mar 9, 2020 · 1 comment · Fixed by #4319
Assignees
Milestone

Comments

@joshp23
Copy link
Contributor

joshp23 commented Mar 9, 2020

I have an external app that runs a housekeeping routine every hour. The Wallabag access token that my app holds needs to be updated with this housekeeping routine. I need the Wallabag access token to last longer than the hour. Is there a way to extend the life of the access token that Wallabag provides?

@joshp23
Copy link
Contributor Author

joshp23 commented Mar 10, 2020

Found this:
In the file app/config/config.yml, find the following section and add the final line:

fos_oauth_server:
    service:
        options:
            access_token_lifetime: 7200

run the following in Wallabag's root folder

 sudo -u www-data php ./bin/console cache:clear -e prod 

Would it be possible to include this as a configurable option, generally?

@j0k3r j0k3r added this to the 2.4.0 milestone Apr 5, 2020
@j0k3r j0k3r self-assigned this Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants