Skip to content

Commit

Permalink
Federation (#61)
Browse files Browse the repository at this point in the history
* Fix CORS header spelling

* Temprarily disable an unreliable test due to bad test setup

* Federation: Implemented Code Flow

* Federation: External User Generation

* Plugin system rewrite

* Federation Integration

* Clients are now loaded via the Plugin API

* YAML is now the default user backend

* Better test setup

* All persistent state is now stored in either /keys or /config

* Removed `import_certfile` option.

This is now possible thanks to a much simpler saving location of /keys/<client_id>.cert

* Automated Setup with Plugins

* Plugin for persistent storage
Uses Postgres

Configuration Defaults are now part of Omejdn

* Plugin Documentation

* Rubocop

* Update Gemfile

* SIOP Implementers Draft Support

* Add missing audience check

* Better internal user selection handling

* Refactoring

* UI improvements

* Per-user consent

* Federation Fixes

* Federation Plugin Documentation

* Self-contained Federation Plugin

* Plugin System: Flow Events
  • Loading branch information
bellebaum authored Jun 15, 2022
1 parent 5457031 commit b58139b
Show file tree
Hide file tree
Showing 60 changed files with 2,570 additions and 1,223 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AllCops:
NewCops: enable
Exclude:
- tests/*.rb
- tests/**/*.rb
- vendor/**/*
TargetRubyVersion: 2.5
Metrics/BlockLength:
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ end
# Necessary Gems for Plugins
group :plugins do
gem 'net-ldap'
gem 'sqlite3'
gem 'pg'
gem 'rqrcode'
end

# Development only
Expand Down
10 changes: 8 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ GEM
specs:
ast (2.4.2)
bcrypt (3.1.18)
chunky_png (1.4.0)
daemons (1.4.1)
eventmachine (1.2.7)
haml (5.2.2)
Expand All @@ -17,6 +18,7 @@ GEM
parallel (1.22.1)
parser (3.1.2.0)
ast (~> 2.4.1)
pg (1.3.5)
power_assert (2.0.1)
rack (2.2.3.1)
rack-protection (2.2.0)
Expand All @@ -26,6 +28,10 @@ GEM
rainbow (3.1.1)
regexp_parser (2.5.0)
rexml (3.2.5)
rqrcode (2.1.1)
chunky_png (~> 1.0)
rqrcode_core (~> 1.0)
rqrcode_core (1.2.0)
rubocop (1.30.0)
parallel (~> 1.10)
parser (>= 3.1.0.0)
Expand All @@ -50,7 +56,6 @@ GEM
rack-protection (= 2.2.0)
sinatra (= 2.2.0)
tilt (~> 2.0)
sqlite3 (1.4.2)
temple (0.8.2)
test-unit (3.5.3)
power_assert
Expand All @@ -70,11 +75,12 @@ DEPENDENCIES
jwt
net-ldap
openssl
pg
rack-test
rqrcode
rubocop
sinatra
sinatra-contrib
sqlite3
test-unit
thin

Expand Down
16 changes: 0 additions & 16 deletions config/clients.yml

This file was deleted.

14 changes: 0 additions & 14 deletions config/oauth_providers.yml

This file was deleted.

76 changes: 0 additions & 76 deletions config/omejdn.yml

This file was deleted.

9 changes: 0 additions & 9 deletions config/scope_description.yml

This file was deleted.

44 changes: 0 additions & 44 deletions config/scope_mapping.yml

This file was deleted.

5 changes: 0 additions & 5 deletions config/webfinger.yml

This file was deleted.

Loading

0 comments on commit b58139b

Please sign in to comment.