diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-05 14:39:03 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-05 14:39:03 +0200 |
commit | 1d53b3c26f4167be4e19e508c96a617d79c67363 (patch) | |
tree | a8eacd792ef620e013ca46dec3d890286b944f68 /app/lib/sso.rb | |
parent | 270620682c1a3c006af4f9d15f9be58537d4d9ee (diff) | |
download | incommon-map-1d53b3c26f4167be4e19e508c96a617d79c67363.tar.gz |
Add Discourse SSO code
Diffstat (limited to 'app/lib/sso.rb')
-rw-r--r-- | app/lib/sso.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/lib/sso.rb b/app/lib/sso.rb new file mode 100644 index 0000000..ace2830 --- /dev/null +++ b/app/lib/sso.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +# Perform Single Sign-On using Discourse +module SSO + require 'securerandom' + require_relative '../../config/initializers/sso_config' +end |