{"id":19504863,"url":"https://github.com/nice-digital/auth0-example-asp","last_synced_at":"2025-07-28T18:08:16.648Z","repository":{"id":141113204,"uuid":"141282381","full_name":"nice-digital/auth0-example-asp","owner":"nice-digital","description":"Example app with auth0 authentication","archived":false,"fork":false,"pushed_at":"2018-07-24T10:03:23.000Z","size":631,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-08T10:45:34.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nice-digital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-17T11:49:54.000Z","updated_at":"2018-10-16T13:51:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"6021079f-c051-442e-a6db-6ade2942edfa","html_url":"https://github.com/nice-digital/auth0-example-asp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nice-digital%2Fauth0-example-asp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nice-digital%2Fauth0-example-asp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nice-digital%2Fauth0-example-asp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nice-digital%2Fauth0-example-asp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nice-digital","download_url":"https://codeload.github.com/nice-digital/auth0-example-asp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240754367,"owners_count":19852189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T22:27:28.029Z","updated_at":"2025-02-25T22:13:28.878Z","avatar_url":"https://github.com/nice-digital.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Auth0 ASP.NET (OWIN) MVC example\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [What is it?](#what-is-it)\n- [Stack](#stack)\n- [Set up](#set-up)\n- [Resources](#resources)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## What is it?\nASP.NET (OWIN) MVC example project to test use of [Auth0](auth0.com) as \nan Identity Platform / NICE Accounts replacement\n  \n## Stack\n- .NET Framework 4.5.1\n- ASP.NET MVC\n- ASP.NET Razor\n- OWIN OpenId Connect\n\n## Set up\n\n### Auth0 setup\n- Create an [Auth0](auth0.com) account and add an example application \nand example users\n\n- In the [Auth0 Application management section](https://manage.auth0.com/#/applications)\nselect your example application and go to the `Settings` tab:\n    - In the **Allowed Callback URLs** text area add `http://localhost:56572/signin-auth0`\n    - In the **Allowed Web Origins** text area add `http://localhost:56572`\n    - In the **Allowed Logout URLs** text area add `http://localhost:56572`\n\n- In the project `Web.config` file change the following `appSettings` properties \nwith the corresponding values found in the Auth0 application `Settings` tab: \n    - Change the `auth0:Domain` value to the `Domain` setting value\n    - Change the `auth0:ClientId` value to the `Client ID` setting value\n    - Change the `auth0:ClientSecret` value to the `Client Secret` setting value\n\n- To test API authentication / integration run the [Web API example](https://github.com/nhsevidence/auth0-example-api)\n\n### Local setup\n- Make sure port `56572` is free\n- In IIS create an Application Pool (CLR v4) and add a site using `{app_directory}\\Auth0ExampleAsp` as the content directory\n- Configure it to use `localhost` as hostname and `56572` as port\n- Open the app in Visual Studio (2015+) and build it\n- Go to `http://localhost:56572/` and see the menu at the top\n\n## Resources\n\n[Auth0 ASP.NET (OWIN) MVC tutorial](https://auth0.com/docs/quickstart/webapp/aspnet-owin/01-login)\n\n[Auth0 ASP.NET (OWIN) MVC sample code](https://github.com/auth0-samples/auth0-aspnet-owin-mvc-samples)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnice-digital%2Fauth0-example-asp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnice-digital%2Fauth0-example-asp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnice-digital%2Fauth0-example-asp/lists"}