Click here to Skip to main content
15,887,464 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I've created a C++ API in Ubuntu (following this tutorial https://levelup.gitconnected.com/building-an-api-in-c-with-pistache-413247535fd3) and I would like to secure it with OAuth 2 with POCO.

https://docs.pocoproject.org/current/Poco.Net.OAuth20Credentials.html

What I have tried:

So far, having all of these, I don't know exactly how and where to start. Is there an example I could find on the internet or something like that?
Posted
Updated 17-Jul-23 21:54pm

1 solution

You were given some suggestions in your previous question on this subject at: How to secure my C++ API?[^].

Quote:
Is there an example I could find on the internet
Quite possibly; try asking one of the many search engines available.
 
Share this answer
 
Comments
MrJay994 18-Jul-23 4:09am    
I already did, I used my previous suggestions and I couldn't find anything else, besides the POCO library which I installed. No examples at all anywhere using poco to secure a c++ api.
Andre Oosthuizen 18-Jul-23 4:17am    
On the contrary, I gave you 3 links to POCO, one that has a full tutorial.
MrJay994 18-Jul-23 4:19am    
https://www.ibm.com/docs/en/api-connect/5.0.x?topic=endpoint-tutorial-securing-api-by-using-oauth-20

This one is specific for the IBM application. I do now work with IBM.

https://docs.pocoproject.org/current/Poco.Net.OAuth20Credentials.html

This one is mostly documentation from which I can gather very little applicability.
Richard MacCutchan 18-Jul-23 4:51am    
You can lead a horse to water ...
MrJay994 18-Jul-23 4:55am    
Yeah, I'm pretty sure you yourself wouldn't manage to create an application using only these things among the search I also did on the internet and with what I found, this is why I asked perhaps for more. Have a good day

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900