Reputation: 391
Rails - 6.0.2 Ruby - 2.6.6
I want to authenticate devise rails app with Active Directory login credentials.
My requirement is: Once the user logs in to the system, go to the application in the browser. Click on a link "Authenticate with AD", the user should automatically log in to the application without any login credentials.
Any suggestions ?
Few questions. These might be very basic, but I am new to AD.
Thanks.
Upvotes: 0
Views: 492
Reputation: 805
Yes there be server level configurations. For configuring your server follow this doc.
For idap_authenticable gem you can follow this complete answer.
Yes you would need to join the Linux server because you need to transfer the code to the server. To transfer the code you can use git.
You would need to configure the database.yml and secret.yml
production:
adapter: sqlite3
database: db/production.sqlite3
Upvotes: 1