CSCfi / CSCfi/rems

IdP OIDC organization/affliation required

Open
#2,705 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

There is a need to make sure that a logged-in user has certain attributes come from the IdP such as organization or affliation. Different IdPs can send different attributes and we should check that at least one exists.

- [ ] new config `oidc-required-affliation`, a sequence of attributes that are checked in order to find at least one
- [ ] if none of the required attributes are present, show an error page ~ "sorry, we can't find your affliation, please contact your IdP"
- [ ] log the error

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.