Hi guys how do you do authentication for ktor server backend do you use any libs or manually do it with ktor auth. Also what is the best way if I want to have oauths and normal email password auths too ?
d
DanielZ
06/26/2025, 11:02 AM
I'm not a ktor developer, but there is a higher change to request that in #C0A974TJ9
s
Scott Fedorov
06/27/2025, 3:52 AM
The ktor authentication plugin supports multiple providers. If you want them in the same routes you just pass in a list of providers.
authenticate(email, oauth) {…endpoints…}
b
bk9735732777
06/27/2025, 5:49 AM
@Scott Fedorov yes i know about that but is that industry standard like somewhere i saw someone saying use keyCloak like stuff and all
s
sssvinod
06/27/2025, 7:36 PM
weird thing is, not able to create project from browser by adding plugins by ktor