Build a Secure To-Do App with Vue, ASP.NET Core, and Okta

Build a Secure To-Do App with Vue, ASP.NET Core, and Okta

In this tutorial, you’ll learn how to build a lightweight, secure to-do app with a Vue.js frontend and an ASP.NET Core backend.

nikivancic

The instructions for building this app after creating the local clone seem to be incorrect. Specifically, you wrote to do the following steps:

1. create the clone
2. npm install
3. dotnet run

The third command fails with this error message

"Couldn’t find a project to run. Ensure a project exists in C:\work\learning\vue\okta\xxx\aspnetcore-Vue-starter, or pass the path to the project using --project."

In order to resolve this problem, I followed the article “https://github.com/MarkPies…” (which you mentioned as the inspiration), so instead of creating the clone of https://github.com/MarkPies…, I installed that template using the command “dotnet new -i aspnetcore-vuejs” (installed that template using nuget).

nikivancic

The section Add identity and security with Okta (https://developer.okta.com/… shows the Okta Dashboard UI that is older than current UI.

nikivancic

The section “Add a custom user profile field” (https://developer.okta.com/… describes the process of adding the custom profile data. The current dashboard page (https://dev-621259-admin.ok… does not offer the add custom attribute - the profile editor has a fixed number of user profile data items.

This is a show stopper for me - please advise.

Lee Brandt

you need to go to the profile editor itself from the main menu, choose [User] => [Profile Editor]. There should be an [Add Attribute] button at the top of the section of the page where the profiles are listed.

Let me know if this helps.

nikivancic

I do not see the same situation as you described it. Here is the screenshot, taken by selecting the Users menu item (red tag 1) on the “top level console” and then selecting the Users menu item (red tag 2). The only action on that profile is “Edit” and that does not allow for adding new attributes,

Since this is pretty clear situation, I am assuming that I am somewhere way off.

https://uploads.disquscdn.c…

Lee Brandt

If you hover over the [User] menu item, there will drop down another menu. https://uploads.disquscdn.c…

nikivancic

Thanks, @disqus_xJJ5OHwdSm:disqus - this time I found it (incidentally a few seconds before you wrote the above definition).

Lee Brandt

Just glad you found it!

nikivancic

It seems that nobody before me really tried to build this application using the instructions in this blog (see my comments in https://github.com/oktadeve… for the list of details that led me to such conclusion). This application certainly deserves the relatively small amount of work needed to make it perfect :slight_smile: