Can I check where is the information about the rev...
# ui
b
Can I check where is the information about the revocable tokens stored? is it persisted in a DB or is it in a cache somewhere? just wondering because when I restarted my docker containers, it seems to disappear in the UI. (But I wasn't specifically testing it out so I didnt really pay attention to it)
i
Hey xL, Revocable tokens themselves are not stored anywhere. Metadata about them are stored in the relational DB just like other metadata (see https://datahubproject.io/docs/generated/metamodel/entities/datahubaccesstoken).
Did you restart your docker container while keeping DB data?
b
Oh, that's interesting. I need to take another look at my DB again, then. Thanks!
b
It will be persisted - not only cached. Restarted it expected to be fine
b
is it normal if tokens requested through graphQL don't show up in the UI, though?
b
Yes the previous stateless tokens can still be generated via GraphQL
But those will not appear -- getAccessToken. Use createAccessToken to generate a stateful token which appears in the UI
👍 1