In lieu of playing with req.userinfo on your routes, you’ll want to up-date to having req.affiliate . The key reason for this is the pages commonly a hundred% inside the sync. When making transform to help you a good owner’s character, the Okta Node SDK therefore the OIDC Middleware explore e, such as for instance, it will not be shown for the req.userinfo if you do not record away and you may back to. However, req.affiliate could be updated immediately.
Some of the syntax is a little various other about the version of the user character (e.grams. rather than offered_identity and members of the family_term the fresh new type spends firstName and you may lastName ). You’ll want to change two things to acquire these to line-up precisely.
Alter the Dashboard path to use the the latest Reputation. There is absolutely no extended an upgraded_from the trick, so you’re able to make clear which through getting eliminate brand new Time object converter. You’ll be able to must filter out blank reputation analysis. Fundamentally, the dash route is today look more such as this:
Customize the Report in the Okta
Today for many who look at the dash you will see a few some other things. However, when a person brings the account they might be just required a good first-name, past name, and you will current email address, very that’s all possible extremely look for here. However, Okta provides a number of most other qualities out from the container, and additionally you can create your own custom selection.
In your Okta dash, browse to help you Users > Profile Publisher. The original one out of the list would say user as well as have the new Okta symbolization next to it. Click on the button in that line labeled that have a modify symbol together with word Reputation.
You might be now taken to a full page that displays you a lengthy selection of standard features. You simply cannot edit this type of, you could transform a few options around to the a few of them. Like, you can restriction new username in order to a particular gang of characters, or you can make certain qualities comprehend-simply.
You are able to manage customized services because of the clicking on the newest Include Attribute button. For the moment, was carrying out custom sequence top features of birthdate and you may favoriteColor .
You’ve got everything you need setup to keep user character advice within this Okta. You just need a technique profiles to change its advice. This can be done by making yet another channel and watch on your application.
Handle bars enables you to cycle as a result of many points, therefore we can cut upon some form repetition by using one loops instead of copy-pasting a bunch of boilerplate for every single items. Effectively, we can simply produce one function goods and also they work for for every characteristic.
It is going to suppose per items has actually a reputation , that it purposes for title and you will id
Relating to the fresh new loop it is the product are looped compliment of, therefore in this situation for each product of one’s fields range, which you can need to citation for the through the station. When there is another sorts of , it will fool around with that, or even the fresh new web browser usually suppose brand new default value of text message . Right here, you want birthdate is a night out together, so you can use the datepicker built in to modern internet browsers (if for example the web browser cannot support it, you’ll just score a text industry, that is adequate for this demo). You may also share with the fresh browser that one areas are needed (e.g. basic and you can past name).
Calling router.play with informs this new router to make use of that means for everybody needs. You’ll want to bring this new web page for both Blog post while having demands, which means this lets you produce the function once and use it both for systems of your own web page.