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
5344a22e
Verified
Commit
5344a22e
authored
3 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Show openid scope descirptions in grant view. Closes
#465
parent
a3962169
No related branches found
No related tags found
1 merge request
!656
Resolve "OpenID Connect: Describe scopes in grant view"
Pipeline
#16915
canceled
3 years ago
Stage: test
Stage: build
Stage: publish
Stage: docker
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
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
6 additions
and
6 deletions
aleksis/core/settings.py
+
5
−
5
View file @
5344a22e
...
...
@@ -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 @
5344a22e
...
...
@@ -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