Sample App
Download some sample applications to see how myMLA SSO works to authenticate your users.
There is a sample app available for you view all of the methods outlined in this documentation. While the documentation focuses on ASP MVC, the sample app also includes examples using Razor Pages.
All of the projects are .Net 6 and contain the following:
Project Name | Description |
---|---|
MLA.SSO.Demo.Api | A basic API that has been protected by the myMLA SSO platform. Returns a list of weather forecasts (similar to the default .Net API project setup). Please run this API when using any of the other API projects. |
MLA.SSO.Demo.Mvc | A basic MVC project with authentication by myMLA SSO. |
MLA.SSO.Demo.MvcWithApi | A basic MVC project with authentication by myMLA SSO. Also includes access to a protected API. |
MLA.SSO.Demo.MvcWithAspIdentity | A basic MVC project with authentication by myMLA SSO. Also includes an example of how to use local ASP Identity accounts and how to link local accounts to myMLA SSO accounts. |
MLA.SSO.Demo.Razor | A basic Razor Pages project with authentication by myMLA SSO. |
MLA.SSO.Demo.RazorWithApi | A basic Razor Pages project with authentication by myMLA SSO. Also includes access to a protected API. |
The example sites have all been configured in myMLA SSO to run on port 5001.