Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vitamui-pr-pastis
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
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
dad
vitamui-pr-pastis
Commits
2ef20f7d
Commit
2ef20f7d
authored
4 years ago
by
Delphine
Browse files
Options
Downloads
Patches
Plain Diff
[FIX TRTL-387] Fix mobile authent : add cors to cas conf
parent
dabb02bf
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Feature/design/1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deployment/environments/group_vars/all/vitamui_vars.yml
+1
-0
1 addition, 0 deletions
deployment/environments/group_vars/all/vitamui_vars.yml
deployment/roles/vitamui/templates/cas-server/application.yml.j2
+9
-0
9 additions, 0 deletions
...ent/roles/vitamui/templates/cas-server/application.yml.j2
with
10 additions
and
0 deletions
deployment/environments/group_vars/all/vitamui_vars.yml
+
1
−
0
View file @
2ef20f7d
...
...
@@ -168,6 +168,7 @@ vitamui:
root_log_level
:
"
ERROR"
vitamui_level
:
"
INFO"
reset_password_url
:
/extras/resetPassword?username={username}&firstname={firstname}&lastname={lastname}&language={language}&ttl=1day
cors.enabled
:
false
security_internal
:
host
:
"
vitamui-security-internal.service.consul"
vitamui_component
:
"
security-internal"
...
...
This diff is collapsed.
Click to expand it.
deployment/roles/vitamui/templates/cas-server/application.yml.j2
+
9
−
0
View file @
2ef20f7d
...
...
@@ -198,3 +198,12 @@ logging:
fr.gouv.vitamui.cas: DEBUG
org.elasticsearch.metrics: DEBUG
fr.gouv.vitamui.commons: DEBUG
{% if vitamui.cas_server.cors.enabled|lower == "true" %}
# Cas CORS (necessary for mobile app)
cas.httpWebRequest.cors.enabled: true
cas.httpWebRequest.cors.allowCredentials: false
cas.httpWebRequest.cors.allowOrigins: ['*']
cas.httpWebRequest.cors.allowMethods: ['*']
cas.httpWebRequest.cors.allowHeaders: ['*']
{% endif %}
\ No newline at end of file
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