Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OIDC Prompt type to Authentication spec #1238

Merged
merged 7 commits into from
Mar 22, 2021

Conversation

rene-dekker
Copy link
Member

@rene-dekker rene-dekker commented Mar 18, 2021

Add prompt type so certain idps can now be supported.

api/v1/authentication_types.go Outdated Show resolved Hide resolved
}

// PromptType is a value that specifies whether the identity provider prompts the end user for re-authentication and
// consent. See the RFC for more information on prompt types: https://openid.net/specs/openid-connect-core-1_0.html
type PromptType string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at what is rendered in the API Reference, we should list the allowed values in the comment on this type.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still don't see the allowed values in this comment.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added. I used the "One of: ..." way for showing the options. This seems to have been used a lot in the recent past.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, just for my info, does the api reference do anything special with that?

Copy link
Contributor

@stevegaossou stevegaossou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

api/v1/authentication_types.go Outdated Show resolved Hide resolved
pkg/render/dex_config.go Show resolved Hide resolved
Copy link
Member

@tmjd tmjd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rene-dekker rene-dekker merged commit 72cc6ee into tigera:master Mar 22, 2021
@rene-dekker rene-dekker deleted the prompt-type branch March 22, 2021 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants