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

When using the /auth/login endpoint : expires = 900000 #9887

Closed
3 tasks done
torstenhoegel opened this issue Nov 17, 2021 · 2 comments
Closed
3 tasks done

When using the /auth/login endpoint : expires = 900000 #9887

torstenhoegel opened this issue Nov 17, 2021 · 2 comments

Comments

@torstenhoegel
Copy link

Preflight Checklist

Describe the Bug

Hello there,

Today I ran over the problem, that the api is sending me an expires time of 900000 on the auth/login request.

I've tried setting it up with ACCESS_TOKEN_TTL set to 15m which should be standard right?

Regards

To Reproduce

install version 9.0.0 or 9.0.1 and request auth tokens via POST /auth/login

Errors Shown

No response

What version of Directus are you using?

9.0.0 / 9.0.1

What version of Node.js are you using?

packed in docker

What database are you using?

Postgres 13

What browser are you using?

Chrome + Firefox + Safari

What operating system are you using?

macOS

How are you deploying Directus?

docker / local / PaaS DigitalOcean

@licitdev
Copy link
Member

The expires is in milliseconds. Hence 15m will be 900000.

@torstenhoegel
Copy link
Author

I got that 👍🏻
dumb question .. sorry for opening this issue :/ just got this one wrong

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants