How to implement http method in keycloak like GET POST PUT

109 views
Skip to first unread message

Shriprasad Gaikwad

unread,
Jul 27, 2023, 3:12:37 AM7/27/23
to Keycloak User
Hello Every One 

if any one know about how to implements http methods to differentiate same method like

1. GET 
     /employee/{id}
2. Delete 
    /employee/{Id}
using keycloak latest version 

if any one have springboot reference project let me know 

Geoffrey Cleaves

unread,
Jul 27, 2023, 4:12:43 AM7/27/23
to Shriprasad Gaikwad, Keycloak User

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/0d538c0f-4b3f-4501-b9e1-7cfb43b63fd2n%40googlegroups.com.

Bruno Ribeiro

unread,
Jul 29, 2023, 3:27:36 AM7/29/23
to Keycloak User
As almost everything in Keycloak, you just need to create a custom provider. For a new REST endpoint, this is a good start: https://www.keycloak.org/docs/latest/server_development/index.html#_extensions_rest

And if you need a fully working example, you can check this out: https://github.com/keycloak/keycloak/tree/main/examples/providers/rest
Reply all
Reply to author
Forward
0 new messages