Skip to content

Commit 4332d2e

Browse files
committed
#1042 Add return url option for the create-from-institution page
1 parent 792e1f8 commit 4332d2e

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package myconext.config;
2+
3+
import lombok.Getter;
4+
import lombok.Setter;
5+
import org.springframework.boot.context.properties.ConfigurationProperties;
6+
7+
import java.util.ArrayList;
8+
import java.util.List;
9+
10+
@Getter
11+
@Setter
12+
@ConfigurationProperties(prefix = "create-from-institution")
13+
public class CreateFromInstitutionProperties {
14+
15+
private List<String> returnUrlAllowedDomains = new ArrayList<>();
16+
}

myconext-server/src/main/resources/application.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,12 @@ my_conext_url: https://my.test2.surfconext.nl
9595
domain: eduid.nl
9696
mijn_eduid_entity_id: http://mijn.localhost/shibboleth
9797
mijn_eduid_service_name: "Mijn eduID"
98+
mobile_app_redirect: eduid:///client/mobile
99+
mobile_app_rp_entity_id: mobile_app_rp_entity_id
100+
98101
create-from-institution:
99102
return-url-allowed-domains:
100103
- app.localhost
101-
mobile_app_redirect: eduid:///client/mobile
102-
mobile_app_rp_entity_id: mobile_app_rp_entity_id
103104

104105
# The host headers to identify the service the user is logged in
105106
host_headers:

0 commit comments

Comments
 (0)