Giter Site home page Giter Site logo

OIDC with Zitadel not working about wekan HOT 6 CLOSED

zmbcgn avatar zmbcgn commented on May 26, 2024
OIDC with Zitadel not working

from wekan.

Comments (6)

xet7 avatar xet7 commented on May 26, 2024 1

@zmbcgn

  • OAUTH2_LOGIN_STYLE=redirect

redirect does not currently work. Only popup works.

Also, change this:

- OAUTH2_ID_MAP=preferred_username
- OAUTH2_USERNAME=preferred_username

To this:

- OAUTH2_ID_MAP=sub
- OAUTH2_USERNAME_MAP=email

from wekan.

zmbcgn avatar zmbcgn commented on May 26, 2024 1

please remove my domain from the wiki article. thx.

from wekan.

xet7 avatar xet7 commented on May 26, 2024 1

@zmbcgn

I removed your domain. Thanks!

from wekan.

zmbcgn avatar zmbcgn commented on May 26, 2024

cool. that fixed it.

for the record, if somebody has this issue: it is OAUTH2_USERNAME_MAP.

may i ask what "sub" stands for? and why i cannot use preferred_username as username?

from wekan.

xet7 avatar xet7 commented on May 26, 2024

@zmbcgn

Sub is per-user unique ID, used in login, like 1234abcd. preferred_username probably is not unique, there could be persons with same names.

https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes

https://stackoverflow.com/questions/52876679/the-sub-claim-value-is-different-between-access-and-id-tokens#52877830

https://github.com/wekan/wekan/wiki/Google-login

from wekan.

xet7 avatar xet7 commented on May 26, 2024

I added this Zitadel login to wiki: https://github.com/wekan/wekan/wiki/Zitadel

from wekan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.