Also, how hard is it to add a Google Authenticatio...
# kvision
n
Also, how hard is it to add a Google Authentication (Sign In With Google) or Swagger UI to this project (https://github.com/rjaros/kvision-realworld-example-app-fullstack)? Besides, I have tried to use Postman on this app, like this
Copy code
@KVBinding(Method.GET, "all_tags_list")
suspend fun tags(): List<String>
But it works only with functions without parameters
Copy code
@KVBinding(<http://Method.POST|Method.POST>, "slug_article")
suspend fun article(slug: String): Article
I tried something like this, but then I got status 500 when sending the POST method from Postman. What am I doing wrong?
r
KVision fullstack interfaces use special JSON-RPC request format. Status 500 probably means your request doesn't have the correct format.
The project is just a spring boot app, so it should be fairly easy to implement both google auth and swagger ui. You should follow the documentation or tutorials: https://www.baeldung.com/spring-oauth-login-webflux
Haven't done that myself, so I can't help you with the details.
n
Ahh, I can't do it, It's just errors and errors. I would be really grateful If you added Swagger UI or Google Auth to this project. But it sounds like too much to ask. Anyways, thank you for your quick responses.