Conversation
- Modified `dribdat/sso/oauth2.py` to allow custom authorization and token URLs. - Updated `dribdat/sso/ssoutils.py` to support `swiyu` and `oid4vp` types and use flexible endpoint configuration. - Added login handlers for `swiyu` and `oid4vp` in `dribdat/public/auth.py`. - Improved user info parsing in `oauth2_login` to handle common OIDC fields. - Added login buttons for `swiyu` and `oid4vp` in `loginsso.html` with corresponding styles in `style.css`. - Created `docs/SWIYU.md` with configuration instructions. Co-authored-by: loleg <31819+loleg@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This change adds support for the Swiss E-ID (swiyu) and OID4VP by making the generic OAuth2/OIDC implementation in Dribdat more flexible. Organizers can now configure custom authorization, token, and userinfo endpoints via environment variables, allowing Dribdat to interface with OIDC bridges that provide Swiss E-ID authentication. Two new OAuth types,
swiyuandoid4vp, are added with branded login buttons.PR created automatically by Jules for task 2331404629381370615 started by @loleg