Skip to content

Commit

Permalink
[merge on 08.10] Upstream KeyCloak changes by campusonline (#1548)
Browse files Browse the repository at this point in the history
Umbauarbeiten KeyCloak campusonline

Due to changes upstream, this needs to be edited on 08.10.24 between 7 AM and 8 AM
  • Loading branch information
CommanderStorm authored Oct 7, 2024
1 parent 3132bb7 commit 9b2a7ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/src/calendar/connectum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ impl APIRequestor {
anyhow::bail!("environment variable CONNECTUM_OAUTH_CLIENT_ID is present, but empty. It is necessary to use this endpoint")
}

// for urls see https://campus.tum.de/tumonline/co/public/sec/auth/realms/CAMPUSonline/.well-known/openid-configuration
let auth_url = Url::parse("https://campus.tum.de/tumonline/co/public/sec/auth/realms/CAMPUSonline/protocol/openid-connect/auth")?;
let token_url = Url::parse("https://campus.tum.de/tumonline/co/public/sec/auth/realms/CAMPUSonline/protocol/openid-connect/token")?;
// for urls see https://campus.tum.de/tumonline/co/public/sec/auth/realms/CAMPUSonline_SP/.well-known/openid-configuration
let auth_url = Url::parse("https://campus.tum.de/tumonline/co/public/sec/auth/realms/CAMPUSonline_SP/protocol/openid-connect/auth")?;
let token_url = Url::parse("https://campus.tum.de/tumonline/co/public/sec/auth/realms/CAMPUSonline_SP/protocol/openid-connect/token")?;

let token = BasicClient::new(
ClientId::new(client_id),
Expand Down

0 comments on commit 9b2a7ef

Please sign in to comment.