]> BookStack Code Mirror - bookstack/commit
Added OIDC group sync functionality 3616/head
authorDan Brown <redacted>
Tue, 2 Aug 2022 15:56:56 +0000 (16:56 +0100)
committerDan Brown <redacted>
Tue, 2 Aug 2022 15:56:56 +0000 (16:56 +0100)
commitb987bea37a593201107f207dc065e973e3ec39e8
treefdf9b987973e27fb5682f7beda6d400926027a84
parent42f4c9afaef078bd107db84f1db80369b1758bf8
Added OIDC group sync functionality

Is generally aligned with out SAML2 group sync functionality, but for
OIDC based upon feedback in #3004.
Neeeded the tangental addition of being able to define custom scopes on
the initial auth request as some systems use this to provide additional
id token claims such as groups.

Includes tests to cover.
Tested live using Okta.
.env.example.complete
app/Auth/Access/Oidc/OidcOAuthProvider.php
app/Auth/Access/Oidc/OidcService.php
app/Config/oidc.php
tests/Auth/OidcTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.