Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.7k views
in Technique[技术] by (71.8m points)

single sign on - Using Keycloak and Devise for Rails authentication

We need to implement SSO in our existing Rails app. So far, it uses Devise as authentication system. There are some guides explaining how to login via omniauth to third-party services - as in the devise wiki (https://github.com/heartcombo/devise/wiki/OmniAuth%3A-Overview), but we need to make our keycloak service only accessible by our Rails backend. Thus, we want to provide our own login and registration forms to make requests to Keycloak via controller (instead of redirecting to Keycloak and back to our services after login).

Is that possible with devise/omniauth? Mainly, I wonder if a remote sign up on Keycloak works with the omniauth gem. Does anybody have some good ressources to start with?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...