Skip to content

For SAML login, is private key necessary? #3204

Closed Answered by dougm
lubronzhan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lubronzhan ,

The ssoadmin endpoint where users, groups, etc., are managed has its own session manager and only supports SAML token authentication. But a bearer token (issued with username+password) can be used, that's the default for the govc sso related commands, which use this helper:

req := sts.TokenRequest{
Certificate: vc.Certificate(),
Userinfo: cmd.Session.URL.User,
}
header.Security, cerr = tokens.Issue(ctx, req)

We do the same in this sts test when creating a solution user:

s, err := stsClient.Issue(ctx, sts.TokenRequest{Use…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lubronzhan
Comment options

lubronzhan Aug 24, 2023
Collaborator Author

@dougm
Comment options

dougm Aug 24, 2023
Collaborator

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