Skip to content

Commit

Permalink
Umbauarbeiten KeyCloak campusonline
Browse files Browse the repository at this point in the history
Due to changes upstream, this needs to be edited on 08.10.24 between 7 AM and 8 AM
  • Loading branch information
CommanderStorm committed Oct 7, 2024
1 parent ab18ed1 commit f36db0f
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 f36db0f

Please sign in to comment.