Skip to content

Commit 7c78582

Browse files
authored
Merge pull request #968 from CSCfi/hotfix/use-new-oidc-in-oidc-return
Use new OIDC in OIDC return
2 parents 2096415 + b0663d5 commit 7c78582

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5656

5757
### Fixed
5858

59+
- Use oidc login Keystone provider for automatically forwarded SSO in oidc return
5960
- (GH #851) Kill upload sessions upon finishing uploads to allow reuploading same files in all cases
6061
- (GH #884) Fixed multiple bugs
6162
- Redirected to AllFolders view whenever the selected project changes

swift_browser_ui/ui/login.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ async def oidc_end(request: aiohttp.web.Request) -> aiohttp.web.Response:
9898
)
9999

100100
if session["oidc"]["userinfo"].get("homeFederation", "") == "Haka":
101-
response.headers["Location"] = HAKA_ENDPOINT(
101+
response.headers["Location"] = HAKA_OIDC_ENDPOINT(
102102
endpoint=str(setd["auth_endpoint_url"]),
103+
oidc=str(setd["keystone_oidc_provider"]),
103104
origin=str(setd["set_origin_address"]),
104105
)
105106

0 commit comments

Comments
 (0)