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

Set more user info, including short login alias. #25

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

ggreer
Copy link
Contributor

@ggreer ggreer commented Apr 5, 2024

This sets user status more accurately, sets createdAt and lastLogin, sets secondary email, and (if possible) sets the login alias and the short login alias.

oktaProfile := *user.Profile
options := []resource.UserTraitOption{
resource.WithUserProfile(oktaProfile),
// TODO?: use the user types API to figure out the account type
Copy link
Contributor

Choose a reason for hiding this comment

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

If possible we could try to avoid leaving to-do comments in production code :)

Copy link
Contributor

@mchavez mchavez left a comment

Choose a reason for hiding this comment

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

LGTM

@ggreer ggreer merged commit c882bb9 into main Apr 6, 2024
2 checks passed
@ggreer ggreer deleted the ggreer/more-user-info branch April 6, 2024 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants