Skip to content
Snippets Groups Projects
Commit 344ebdb4 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix CAS callback path

While it didn't cause any issues it doesn't make any sense to have the
CAS callback path under `/oauth`.
parent 3ae36bb4
No related merge requests found
......@@ -112,7 +112,7 @@ import de.thm.arsnova.security.pac4j.OauthCallbackFilter;
public class SecurityConfig extends WebSecurityConfigurerAdapter {
public static final String AUTH_CALLBACK_PATH = "/auth/callback";
public static final String OAUTH_CALLBACK_PATH = AUTH_CALLBACK_PATH + "/oauth";
public static final String CAS_CALLBACK_PATH = OAUTH_CALLBACK_PATH + "/cas";
public static final String CAS_CALLBACK_PATH = AUTH_CALLBACK_PATH + "/cas";
public static final String CAS_LOGOUT_PATH = "/auth/logout/cas";
public static final String RUN_AS_KEY_PREFIX = "RUN_AS_KEY";
public static final String INTERNAL_PROVIDER_ID = "user-db";
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment