Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
1171a5f8
Commit
1171a5f8
authored
3 years ago
by
Tom Teichler
Committed by
Jonathan Weth
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "OpenID Connect: Describe scopes in grant view"
(cherry picked from commit
1938a773
)
parent
dbadf6f6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!669
Do release 2.0b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.rst
+2
-0
2 additions, 0 deletions
CHANGELOG.rst
aleksis/core/settings.py
+5
-5
5 additions, 5 deletions
aleksis/core/settings.py
aleksis/core/templates/oauth2_provider/authorize.html
+1
-1
1 addition, 1 deletion
aleksis/core/templates/oauth2_provider/authorize.html
with
8 additions
and
6 deletions
CHANGELOG.rst
+
2
−
0
View file @
1171a5f8
...
...
@@ -13,6 +13,8 @@ Changed
~~~~~~~
* Add verbose names for all preference sections.
* Add verbose names for all openid connect scopes and show them in grant
view.
Fixed
~~~~~
...
...
This diff is collapsed.
Click to expand it.
aleksis/core/settings.py
+
5
−
5
View file @
1171a5f8
...
...
@@ -342,11 +342,11 @@ if _settings.get("oauth2.oidc.enabled", False):
)
OAUTH2_PROVIDER
[
"
SCOPES
"
].
update
(
{
"
openid
"
:
"
OpenID Connect scope
"
,
"
profile
"
:
"
Profile scope
"
,
"
phone
"
:
"
P
ho
n
e
scope
"
,
"
email
"
:
"
Email
scope
"
,
"
address
"
:
"
Address scop
e
"
,
"
openid
"
:
_
(
"
OpenID Connect scope
"
)
,
"
profile
"
:
_
(
"
Given name, family name, link to profile and picture if existing.
"
)
,
"
address
"
:
_
(
"
Full
ho
m
e
postal address
"
)
,
"
email
"
:
_
(
"
Email
address
"
)
,
"
phone
"
:
_
(
"
Home and mobile phon
e
"
)
,
}
)
...
...
This diff is collapsed.
Click to expand it.
aleksis/core/templates/oauth2_provider/authorize.html
+
1
−
1
View file @
1171a5f8
...
...
@@ -16,7 +16,7 @@
{% trans "Authorize" %} {{ application.name }}
</div>
<p
class=
"margin-bottom"
>
{% trans "The application requests access to the following scopes:" %}
</p>
{% for scope in scopes %}
{% for scope in scopes
_descriptions
%}
<p
class=
"margin-bottom"
>
<i
class=
"material-icons left"
>
check
</i>
{{ scope }}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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