Skip to content

Commit

Permalink
Jmprieur/easy authwitout test project (#703)
Browse files Browse the repository at this point in the history
* First step of the integration of Easy-auth with Microsoft.Identity.Web

* Sign-in and Sign-out now work correctly

* Reverting changes to TokenAcquisition

* Updating the EasyAuth code and adding debugging capabilities

* Improving the developer experience.

* Now works when deployed with EasyAuth "on"

* Cleaning-up

* Removing the test project

* Fixing

* Update src/Microsoft.Identity.Web/EasyAuth/AppServiceAuthenticationBuilderExtensions.cs

Co-authored-by: jennyf19 <jeferrie@microsoft.com>

* Update src/Microsoft.Identity.Web/EasyAuth/AppServiceAuthenticationBuilderExtensions.cs

Co-authored-by: jennyf19 <jeferrie@microsoft.com>

* Update src/Microsoft.Identity.Web/EasyAuth/AppServiceAuthenticationInformation.cs

Co-authored-by: jennyf19 <jeferrie@microsoft.com>

* Update src/Microsoft.Identity.Web/EasyAuth/AppServiceAuthenticationDefaults.cs

Co-authored-by: jennyf19 <jeferrie@microsoft.com>

* renaming (#701)

* renaming

* a few more edits and name changes

* fix error + warnings

* Adding the test app.

* Improvements:
- in the authentication handler, processes both v1.0 and v2.0 IdTokens
- Fixing CA warnings
- Adding a page (Debugging) which explains how to debug the EasyAuth integration locally.

* Addressing PR feedback

Co-authored-by: jennyf19 <jeferrie@microsoft.com>
  • Loading branch information
jmprieur and jennyf19 authored Oct 20, 2020
1 parent b9de3cc commit 158636e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/WebAppCallsMicrosoftGraph/Pages/Debugging.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
To debug locally the application as if it was deployed in App services:
<ol>
<li>
Run the application with Easy auth as deployed, but at the baseUrl/Debugging address (for instance: <a href='https://mdidwebtestforeasyauthintegration.azurewebsites.net/Debugging'>https://mdidwebtestforeasyauthintegration.azurewebsites.net/Debugging</a>)
Run the application with App Services authentication as deployed, but at the baseUrl/Debugging address (for instance: <a href='https://mdidwebtestforeasyauthintegration.azurewebsites.net/Debugging'>https://mdidwebtestforeasyauthintegration.azurewebsites.net/Debugging</a>)
</li>
<li>
Copy the following JSon blob into the <b>lauchsettings.json</b> for the profile of your choice, in the <b>environmentVariables</b> section, paste the following:
</li>

<li>
Run Visual Studio with debugging with the profile for which you have added the environement variables.
Run Visual Studio with debugging with the profile for which you have added the environment variables.
</li>
</ol>

Expand Down

0 comments on commit 158636e

Please sign in to comment.