OAuth 2.0 provider implementation for Scala/Lift

蹲街弑〆低调 提交于 2019-12-04 17:11:34

问题


Does anyone know of a OAuth 2.0 provider (server side) implementation for Scala/Lift? I see Scala 2.0 client, but no provider.


回答1:


It doesn't look like there is one readily available. So I think you have two options:

  1. Implement one yourself.
  2. Use a Java library in Scala. However this is probably not the optimal root due to the obvious impedance mismatch. But, I don't see much other choice. The project has both an OAuth client/server library and an example on how to use it.



回答2:


Check this question:

OAuth2 provider for Scalatra or Play framework in Scala

So far, I have found https://github.com/nulab/scala-oauth2-provider and it works good for me. However, I have used it with Play Framework https://github.com/tuxdna/play-oauth2-server.




回答3:


this library may help Scala-OAuth



来源:https://stackoverflow.com/questions/5526441/oauth-2-0-provider-implementation-for-scala-lift

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!