{"repo":"gary-archer/oauth.websample.entraid","free":true,"listed":false,"github":"https://github.com/gary-archer/oauth.websample.entraid","clone":"git clone https://github.com/gary-archer/oauth.websample.entraid.git","description":"Entra ID SPA and API Code Sample, using OAuth and OpenID Connect","language":"TypeScript","stars":14,"topics":["oauth2","spa","typescript","api"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Entra ID SPA and API Code Sample Overview An OAuth code sample that adapts the updated SPA and API code sample to use Microsoft Entra ID.\\ The goal is to demonstrate code portability, where these features work the same regardless of the authorization server: - The SPA uses the code flow with a complete application lifecycle. - The API combines claims-based authorization with finer-grained business permissions. - The SPA and API use both OAuth user attributes and business user attributes. Views The SPA is a simple UI with some basic navigation between views, to render fictional investment resources. Prerequisites See the Entra ID SPA and API Setup for the Microsoft online configuration details.\\ You could configure all of the settings and then update these configuration files to point to your own Entra ID tenant: - spa/spa.config.json - api/api.config.json Local Development Quick Start To run the code sample locally you must configure some infrastructure before you run the code. Configure DNS and SSL Configure custom development domains by adding these DNS entries to your hosts file: Install OpenSSL 3+ if required, create a secrets folder, then create development certificates: Finally, configure Browser SSL Trust for the SSL root certificate at this location: Run the Code Ensure that Node.js 24+ is installed, then build and run the SPA and API: The system browser runs and you can sign in with your own Entra ID user accounts. Further Information See the Entra ID SPA and API OAu","default_branch":null,"files":null,"tree":[],"storefront":"/r/gary-archer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gary-archer/oauth.websample.entraid/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}