Replies: 4 comments 2 replies
-
Hello @udayakr , thanks for your question. Yes, Java SDK and SpringBoot is part of our roadmap item. Please see https://github.com/orgs/openfga/projects/1/views/1 for details. |
Beta Was this translation helpful? Give feedback.
-
We have a java based micro services that needs to call OpenFGA. Saying that, I have decided to follow what Auth0 does internally and front OpenFGA with another micro-service (written in go) that gates access to Write using an OAuth2 token. OpenFGA at the moment has an all-or-nothing ApiKey approach to calling OpenFGA. So, our JAVA SDK, isn't from OpenFGA folks at all. It's a grpc service whose proto contracts are used to create clients in all our languages (C#, go, Java, TypeScript, Python). The only OpenFGA sdk we need is that golang one. For now, I don't have any auth checks on READ calls, but I have locked down the Write calls into OpenFGA. |
Beta Was this translation helpful? Give feedback.
-
Just as an FYI, there is a Quarkus Java SDK (https://github.com/quarkiverse/quarkus-openfga-client). It's not generated, instead it uses hand coded classes and is built on the Vert.x web client to ensure it's asynchronous and fits into the Quarkus environment. |
Beta Was this translation helpful? Give feedback.
-
I'm closing this Idea since it's already in the roadmap, you can keep discussing it here openfga/roadmap#5 |
Beta Was this translation helpful? Give feedback.
-
Any plans to have java sdk for OpenFGA for integrations with spring/springboot ?
Beta Was this translation helpful? Give feedback.
All reactions