In the place of playing with req.userinfo on your paths, you should revision to presenting req.representative . The primary reason for this ‘s the pages commonly one hundred% inside the connect. When creating change to a beneficial user’s reputation, brand new Okta Node SDK while the OIDC Middleware play with e, eg, it won’t be mirrored when you look at the req.userinfo unless you diary out and you will back to. Yet not, req.member might be upgraded quickly.
A number of the sentence structure is a little different from the the latest type of an individual profile (elizabeth.grams. in the place of considering_title and you may household members_name the fresh new version spends firstName and you may lastName ). You’ll want to changes a few things discover these to fall into line correctly.
Replace the Dash approach to make use of the the brand new Reputation. There is no offered a current_in the key, to help you clarify so it through getting rid of the brand new Date target converter. You may must filter blank character studies. Fundamentally, your own dash route will be now look more like this:
Customize the Report inside the Okta
Today for individuals who check out the dash you’ll see a number of additional circumstances. Although not, when a user creates its account they might be merely asked for an effective first-name, last term, and you can current email address, therefore that’s it you are able to extremely find right here. However, Okta brings a lot of almost every other attributes from the field, in addition to you may make the personalized possibilities.
On your own Okta dashboard, navigate so you’re able to Profiles > Profile Publisher. The first one in the list will say affiliate and now have the new Okta logo near to it. Click on the option in that row branded with an edit icon plus the term Reputation.
You are today brought to a page that displays your an extended a number of default services. You simply cannot modify these types of, but you can changes several options up to toward a few of her or him. Particularly, you might maximum the fresh new username so you can a certain band of characters, or you can make sure that attributes understand-simply.
You may perform custom services by the clicking on the fresh new Put Trait button. For now, is actually performing customized string top features of birthdate and you can favoriteColor .
You’ve got everything required set up to save member profile recommendations in this Okta. You simply need a technique profiles to revise its guidance. You can do this by making a separate route and watch on your own application.
Handle bars allows you to cycle because of numerous issue, therefore we will cut down on certain form repetition that with one of those loops in lieu of copy-pasting a number of boilerplate for each and every item. Efficiently, we can simply develop one setting goods and have it benefit for each characteristic.
It is going to guess for each and every product have a reputation , that it purposes for the name and id
In the context of new loop this is the items becoming looped owing to, so in this instance for each and every product of the sphere range, which you yourself can need certainly to admission in through the station. If there’s a special types of , it’s going to have fun with one, or even the fresh browser tend to assume the newest default value of text . Here, you need birthdate to get a romantic date, to help you utilize the datepicker built in in order to modern internet browsers (if for example the browser does not support it, you can simply score a text profession, that is suitable because of it demonstration). You can even share with the new browser this one sphere are required (age.g. very first and you can last term).
Getting in touch with router.use tells brand new router to utilize that means for all needs. You ought to render new page for Article and have requests, which means this lets you develop the event once and employ it for designs of web page.