You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Johnny Oskarsson
a07e67d9cc
Minimal OpenID Connect implementation ( #14139 )
...
This is "minimal" in the sense that only the Authorization Code Flow
from OpenID Connect Core is implemented. No discovery, no configuration
endpoint, and no user scope management.
OpenID Connect is an extension to the (already implemented) OAuth 2.0
protocol, and essentially an `id_token` JWT is added to the access token
endpoint response when using the Authorization Code Flow. I also added
support for the "nonce" field since it is required to be used in the
id_token if the client decides to include it in its initial request.
In order to enable this extension an OAuth 2.0 scope containing
"openid" is needed. Other OAuth 2.0 requests should not be impacted by
this change.
This minimal implementation is enough to enable single sign-on (SSO)
for other sites, e.g. by using something like `mod_auth_openidc` to
only allow access to a CI server if a user has logged into Gitea.
Fixes : #1310
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
4 years ago
..
migrations.go
Minimal OpenID Connect implementation ( #14139 )
4 years ago
v70.go
…
v71.go
…
v72.go
…
v73.go
…
v74.go
…
v75.go
…
v76.go
…
v77.go
…
v78.go
…
v79.go
…
v80.go
…
v81.go
…
v82.go
Migrations (v82,v96,v99,v136) remove dependencies ( #12286 )
5 years ago
v83.go
…
v84.go
…
v85.go
…
v86.go
…
v87.go
…
v88.go
…
v89.go
…
v90.go
…
v91.go
…
v92.go
…
v93.go
…
v94.go
…
v95.go
…
v96.go
Add a storage layer for attachments ( #11387 )
5 years ago
v97.go
…
v98.go
…
v99.go
Migrations (v82,v96,v99,v136) remove dependencies ( #12286 )
5 years ago
v100.go
…
v101.go
…
v102.go
Use transaction in V102 migration ( #12395 )
5 years ago
v103.go
…
v104.go
…
v105.go
…
v106.go
…
v107.go
…
v108.go
…
v109.go
…
v110.go
…
v111.go
Fix bug of migraition v111 ( #12738 )
4 years ago
v112.go
Add a storage layer for attachments ( #11387 )
5 years ago
v113.go
…
v114.go
…
v115.go
Avatars and Repo avatars support storing in minio ( #12516 )
4 years ago
v116.go
Refactor: Remove Dependencys from Migration v112-v119 ( #11811 )
5 years ago
v117.go
…
v118.go
…
v119.go
Refactor: Remove Dependencys from Migration v112-v119 ( #11811 )
5 years ago
v120.go
…
v121.go
…
v122.go
…
v123.go
…
v124.go
…
v125.go
…
v126.go
…
v127.go
…
v128.go
Add logging to long migrations ( #11647 )
5 years ago
v129.go
…
v130.go
…
v131.go
…
v132.go
…
v133.go
…
v134.go
Add logging to long migrations ( #11647 )
5 years ago
v135.go
Add Organization Wide Labels ( #10814 )
5 years ago
v136.go
Migrations (v82,v96,v99,v136) remove dependencies ( #12286 )
5 years ago
v137.go
Prevent merge of outdated PRs on protected branches ( #11012 )
5 years ago
v138.go
Add a way to mark Conversation (code comment) resolved ( #11037 )
5 years ago
v139.go
Fix issue ref migration ( #11419 )
5 years ago
v140.go
Change language statistics to save size instead of percentage ( #11681 )
5 years ago
v141.go
Add hide activity option ( #11353 )
5 years ago
v142.go
Add migration to set IsArchived false if it is null ( #11853 )
5 years ago
v143.go
Decrease the num_stars when deleting a repo ( #11954 )
5 years ago
v144.go
Don't use legacy method to send Matrix Webhook ( #12348 )
5 years ago
v145.go
Fix Migration 145 on MSSQL if varchar is changed to nvarchar ( #12445 )
5 years ago
v146.go
Kanban board ( #8346 )
5 years ago
v147.go
Fix bug on migration 147 ( #12565 )
5 years ago
v148.go
[BugFix] Fix comment broken issue ref dependence ( #12651 )
4 years ago
v149.go
Add Created & Updated to Milestone ( #12662 )
4 years ago
v150.go
Add Primary Key to Topic and RepoTopic ( #12639 )
4 years ago
v151.go
Add migration for password algorithm change ( #12784 )
4 years ago
v152.go
Add configurable Trust Models ( #11712 )
4 years ago
v153.go
Add team support for review request ( #12039 )
4 years ago
v154.go
Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database ( #13124 )
4 years ago
v155.go
[Enhancement] Allow admin to merge pr with protected file changes ( #12078 )
4 years ago
v156.go
Some improvements for v156 ( #13497 )
4 years ago
v157.go
Ensure topics added using the API are added to the repository ( #13285 )
4 years ago
v158.go
Comments on review should have the same sha ( #13448 )
4 years ago
v159.go
Include OriginalAuthor in Reaction constraint ( #13505 )
4 years ago
v160.go
Add block on official review requests branch protection ( #13705 )
4 years ago
v161.go
Move webhook type from int to string ( #13664 )
4 years ago
v162.go
Fix broken migration on webhook ( #13911 )
4 years ago
v163.go
Change topic name size from 25 to 50 ( #14150 )
4 years ago
v164.go
Minimal OpenID Connect implementation ( #14139 )
4 years ago