We are currently looking into PATs, found <this> t...
# ory-network
r
We are currently looking into PATs, found this ticket for Kratos. But it looks abandoned. Is there an Ory Network service for PATs yet?
Or what would you suggest now for implementation?
h
We don’t have such a service yet available :/
r
@high-optician-2097 no worries, but any suggestions on what do to so it can "integrate" with Kratos? We are currently think of a "database" table, such as:
Copy code
| pat (some random string) | subject_id (kratos_id) | expiration (null|date) |
To have a record and make them revokable on our end/for the user. And then thinking about adding a custom "whoami" endpoint in oathkeeper to authenticate them on the edge? Do you think that's feasible, or the wrong thing to do?
@steep-lamp-91158 sorry to bug, but maybe you have an idea?
h
Could work, but as always depends on your implementation 🙂
r
@high-optician-2097 hehe, you mean how crappy is the code I write? 😄
i guess the problem with my idea was that I can't configure a second session endpoint in one oathkeeper