Skip to content

Could you advise on the best approach for implementing prompt=none? #669

Answered by muhlemmer
nannany asked this question in Q&A
Discussion options

You must be logged in to vote

In our product ZITADEL we pin the useragent to the user. When there is exactly one SSO session active, we set the userinfo when creating the Auth Request:

https://github.com/zitadel/zitadel/blob/6780c5a07ca491690e0af6d8baeac9aa5d69cabe/internal/auth/repository/eventsourcing/eventstore/auth_request.go#L173-L176

https://github.com/zitadel/zitadel/blob/6780c5a07ca491690e0af6d8baeac9aa5d69cabe/internal/auth/repository/eventsourcing/eventstore/auth_request.go#L740-L757

At that point the user is redirected to the login UI URL. The login UI will retrieve the auth request and sees prompt == none. Then it will use the /auth/callback URI to send the user back the the OIDC library.

https://github.co…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@hifabienne
Comment options

@nannany
Comment options

@hifabienne
Comment options

@muhlemmer
Comment options

Answer selected by nannany
@nannany
Comment options

@muhlemmer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants