Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
e9f710d3
Commit
e9f710d3
authored
9 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
added comment in config to change authorization request redirect URI
parent
923b6ab3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/application.yml
+2
-0
2 additions, 0 deletions
config/application.yml
src/main/java/org/hbp/mip/MIPApplication.java
+0
-11
0 additions, 11 deletions
src/main/java/org/hbp/mip/MIPApplication.java
with
2 additions
and
11 deletions
config/application.yml
+
2
−
0
View file @
e9f710d3
...
...
@@ -17,6 +17,8 @@ hbp:
tokenName
:
oauth_token
authenticationScheme
:
query
clientAuthenticationScheme
:
form
# use-current-uri: false # For production server
# pre-established-redirect-uri: https://mip.humanbrainproject.eu/services/login/hbp # For production server
resource
:
userInfoUri
:
https://services.humanbrainproject.eu/oidc/v0/api/user/me
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/hbp/mip/MIPApplication.java
+
0
−
11
View file @
e9f710d3
...
...
@@ -224,17 +224,6 @@ public static void main(String[] args) {
return
registration
;
}
/*
private Filter ssoFilter() {
OAuth2ClientAuthenticationProcessingFilter hbpFilter = new OAuth2ClientAuthenticationProcessingFilter("/login/hbp");
OAuth2RestTemplate hbpTemplate = new OAuth2RestTemplate(hbp(), oauth2ClientContext);
hbpFilter.setAuthenticationSuccessHandler(new SimpleUrlAuthenticationSuccessHandler("http://frontend/#/home"));
hbpFilter.setRestTemplate(hbpTemplate);
hbpFilter.setTokenServices(new UserInfoTokenServices(hbpResource().getUserInfoUri(), hbp().getClientId()));
return hbpFilter;
}
*/
@Bean
(
name
=
"hbp"
)
@ConfigurationProperties
(
"hbp.client"
)
OAuth2ProtectedResourceDetails
hbp
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment