I want to bring openID into Foreman instead of the local auth
method . Now i have finished the part of login by ruby-openid, can
you guys give me some suggestions about how to integrate with the role
and permission in foreman
First of all thanks!
I think that you simply need to add the open id as another
authentication source [1], you can see as an example [2].
afair, you only need to implement the authenticate method.
Ohad
[1] https://github.com/theforeman/foreman/blob/develop/app/models/auth_source.rb
[2] https://github.com/theforeman/foreman/blob/develop/app/models/auth_source_ldap.rb