Integreate oauth2 service

Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
shichino
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Wed Jun 17, 2020 1:52 am

Integreate oauth2 service

Post by shichino »

I already have Oauth2 service and i want integrate it into OpenKm. Can I do this? Please teach me how to integrate this :( ?

jllort
Moderator
Moderator
Posts: 11204
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Integreate oauth2 service

Post by jllort »

Might be done. You should take a look at spring security and play with the source code to success on it.

First I suggest downloading the openkm portable development environment at https://www.openkm.com/en/download.html ( you have a video explaining hot to get it running ). Take a look how security it is implemented ( security-context.xml, web.xml etc... ) and then look for integrate the spring security oath there ( take care looking for the spring security version used in the community edition )

Post Reply