-
Notifications
You must be signed in to change notification settings - Fork 61
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
Support custom attributes in UserProfile type #238
Comments
Thanks for posting! @shuowu-okta can you help with this? |
@JuanCaicedo how are you retrieving the custom properties on the user profile? The |
@theseyi When I call |
I see, I guess someone already updated the schéma in your Okta org to apply those custom fields to the user type... 🤔 |
We're using custom properties as well, any updates on this? |
We ended building our own profile type by
|
I'm having a similar issue but with Group profiles. Whenever I try to access any of the custom attributes I get 'property' does not exists on type 'GroupProfile'. Any guidance from Okta would be appreciated. |
Hi there! I'm looking to switch over to use your new typescript definitions (thank you! 😀) and am running into an issue.
My organization currently defines some custom attributes as part of the user profile. However, it looks to me like the UserProfile type has not way of accounting for these other attributes, which is causing my code that tries to access them to not compile.
I wanted to flag this and see if this is a known issue or if there's something I'm overlooking 😄
If this does need to be addressed, I'm not sure what would be a good strategy. Perhaps leveraging somehow generics on the
User
/UserProfile
type to represent the custom properties?Thank you!
The text was updated successfully, but these errors were encountered: