https://kotlinlang.org logo
#ktor
Title
# ktor
r

Rodrigo Silva

05/09/2020, 7:26 PM
Can i create my own oauth2 server with ktor?
s

Sam

05/09/2020, 10:01 PM
That is for authorizing access to a resource via an OAuth provider like Google or others. If the question is can one use ktor to serve up the necessary requests to be an OAuth provider, the answer is yes. The advice I would give is don’t unless security is your full time job. The OAuth spec is big and full of ways to be insecure. It would be better to outsource that to a project/company that specializes in OAuth and security. Focus on what you really want to use Ktor for instead of being side tracked.
❤️ 1
r

Rodrigo Silva

05/09/2020, 10:33 PM
@crummy No. I don't want to access github, or any other website, but my authorization server. I can create one using OpenId connect + C #, I would like to know if can I create it using ktor.
@Sam, thanks for the advice 😃
3 Views