From 06eeead51daf489d498342533704aad44cdfb878 Mon Sep 17 00:00:00 2001 From: James Hodgkinson Date: Sun, 5 Jun 2022 15:08:02 +1000 Subject: [PATCH] updates the oauth2 URL, updating book layout (#807) --- kanidm_book/src/SUMMARY.md | 41 +++++++++++-------- kanidm_book/src/{ => integrations}/ldap.md | 0 kanidm_book/src/{ => integrations}/oauth2.md | 0 .../{ => integrations}/pam_and_nsswitch.md | 0 kanidm_book/src/{ => integrations}/radius.md | 0 kanidmd/idm/src/idm/oauth2.rs | 2 +- 6 files changed, 24 insertions(+), 19 deletions(-) rename kanidm_book/src/{ => integrations}/ldap.md (100%) rename kanidm_book/src/{ => integrations}/oauth2.md (100%) rename kanidm_book/src/{ => integrations}/pam_and_nsswitch.md (100%) rename kanidm_book/src/{ => integrations}/radius.md (100%) diff --git a/kanidm_book/src/SUMMARY.md b/kanidm_book/src/SUMMARY.md index 926665742..e1c3e11fd 100644 --- a/kanidm_book/src/SUMMARY.md +++ b/kanidm_book/src/SUMMARY.md @@ -1,23 +1,28 @@ # Summary -- [Introduction to Kanidm](./intro.md) -- [Installing the Server](./installing_the_server.md) - - [Server Configuration](./server_configuration.md) - - [Security Hardening](./security_hardening.md) +- [Introduction to Kanidm](intro.md) +- [Installing the Server](installing_the_server.md) + - [Server Configuration](server_configuration.md) + - [Security Hardening](security_hardening.md) +- [Client Tools](client_tools.md) + - [Installing client tools](installing_client_tools.md) +- [Accounts and Groups](accounts_and_groups.md) +- [Administrative Tasks](administrivia.md) + - [Monitoring the platform](monitoring.md) + - [Password Quality and Badlisting](password_quality.md) + - [POSIX Accounts and Groups](posix_accounts.md) + - [SSH Key Distribution](ssh_key_dist.md) + - [The Recycle Bin](recycle_bin.md) + - [Why TLS?](why_tls.md) +# For Developers -- [Client Tools](./client_tools.md) - - [Installing client tools](./installing_client_tools.md) -- [Accounts and Groups](./accounts_and_groups.md) -- [Administrative Tasks](./administrivia.md) - - [Monitoring the platform](./monitoring.md) - - [Password Quality and Badlisting](./password_quality.md) - - [POSIX Accounts and Groups](./posix_accounts.md) - - [SSH Key Distribution](./ssh_key_dist.md) - - [The Recycle Bin](./recycle_bin.md) -- [Oauth2](./oauth2.md) -- [PAM and nsswitch](./pam_and_nsswitch.md) -- [RADIUS](./radius.md) -- [LDAP](./ldap.md) -- [Why TLS?](./why_tls.md) - [Developer Guide](DEVELOPER_README.md) + +# Integrations + +- [Oauth2](integrations/oauth2.md) +- [PAM and nsswitch](integrations/pam_and_nsswitch.md) +- [RADIUS](integrations/radius.md) +- [LDAP](integrations/ldap.md) + diff --git a/kanidm_book/src/ldap.md b/kanidm_book/src/integrations/ldap.md similarity index 100% rename from kanidm_book/src/ldap.md rename to kanidm_book/src/integrations/ldap.md diff --git a/kanidm_book/src/oauth2.md b/kanidm_book/src/integrations/oauth2.md similarity index 100% rename from kanidm_book/src/oauth2.md rename to kanidm_book/src/integrations/oauth2.md diff --git a/kanidm_book/src/pam_and_nsswitch.md b/kanidm_book/src/integrations/pam_and_nsswitch.md similarity index 100% rename from kanidm_book/src/pam_and_nsswitch.md rename to kanidm_book/src/integrations/pam_and_nsswitch.md diff --git a/kanidm_book/src/radius.md b/kanidm_book/src/integrations/radius.md similarity index 100% rename from kanidm_book/src/radius.md rename to kanidm_book/src/integrations/radius.md diff --git a/kanidmd/idm/src/idm/oauth2.rs b/kanidmd/idm/src/idm/oauth2.rs index 031758fdf..0966314df 100644 --- a/kanidmd/idm/src/idm/oauth2.rs +++ b/kanidmd/idm/src/idm/oauth2.rs @@ -43,7 +43,7 @@ lazy_static! { static ref CLASS_OAUTH2_BASIC: PartialValue = PartialValue::new_class("oauth2_resource_server_basic"); static ref URL_SERVICE_DOCUMENTATION: Url = - Url::parse("https://kanidm.github.io/kanidm/oauth2.html") + Url::parse("https://kanidm.github.io/kanidm/master/integrations/oauth2.html") .expect("Failed to parse oauth2 service documentation url"); }