Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.8k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...