Created
July 29, 2016 16:11
-
-
Save craigplummer/f3f26c633c511536b32a763d555bc6c2 to your computer and use it in GitHub Desktop.
Using Microsoft ADFS with Ruby on Rails and Omniauth - sessions_controller.rb#logout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def logout | |
reset_session | |
redirect_to "https://adfs.example.com/adfs/ls/?wa=wsignout1.0&wreply=https://#{request.host}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment