Skip to content

Commit d1d3790

Browse files
authored
Merge pull request #1248 from OpenConext/fix/myconext-registration-redirect
Updates login url, this is at least used by the public website
2 parents 65d14b8 + 6d37e7a commit d1d3790

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

myconext-server/src/main/java/myconext/api/LoginController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public LoginController(UserRepository userRepository,
131131
this.createFromInstitutionAllowedReturnDomains = createFromInstitutionProperties.getReturnUrlAllowedDomains();
132132
this.spBaseUrl = spBaseUrl;
133133
this.spServiceDeskBaseUrl = spServiceDeskBaseUrl;
134-
this.myconextLoginUrl = myConextUrl + "/oauth2/authorization/oidcng";
134+
this.myconextLoginUrl = myConextUrl + "/oauth2/authorization/my_conext";
135135
}
136136

137137
@GetMapping("/config")

myconext-server/src/test/java/myconext/api/LoginControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public void register() {
144144
.get("/register")
145145
.then()
146146
.statusCode(302)
147-
.header("Location", "https://my.test2.surfconext.nl/oauth2/authorization/oidcng?lang=en");
147+
.header("Location", "https://my.test2.surfconext.nl/oauth2/authorization/my_conext?lang=en");
148148
}
149149

150150
@Test

0 commit comments

Comments
 (0)