You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Pre-releases of this Package are pushed to an internal feed an Azure DevOps. The
22
22
23
23
## Build
24
24
25
-
The build environment for this project is on Azure DevOps and can be found here [dev.azure.com/kirkone/KK.AspNetCore.EasyAuthAuthentication](https://dev.azure.com/kirkone/KK.AspNetCore.EasyAuthAuthentication/_releases2?definitionId=1&view=mine&_a=releases)
25
+
The build environment for this project is on Azure DevOps and can be found here [dev.azure.com/kirkone/KK.AspNetCore.EasyAuthAuthentication](https://dev.azure.com/kirkone/KK.AspNetCore.EasyAuthAuthentication/_build)
26
26
27
27
### Nuget package build
28
28
@@ -83,6 +83,25 @@ public string UserName()
83
83
84
84
If you want to add roles to the `User` property you can have a look in `Transformers/ClaimsTransformer.cs` in the Sample project. There you can see an example how to get started with this.
85
85
86
+
### Local Debugging
87
+
88
+
For debugging your application you can place a `me.json` in the `wwwroot/auth` folder of your web app and add some configuration to the `AddEasyAuth` call.
89
+
For example:
90
+
91
+
```
92
+
).AddEasyAuth(
93
+
options =>
94
+
{
95
+
if (this.Environment.IsDevelopment())
96
+
{
97
+
options.AuthEndpoint = "auth/me.json";
98
+
}
99
+
}
100
+
);
101
+
```
102
+
103
+
> **Info**: You can obtain the content for this file from an Azure Web App with EasyAuth configured by requesting the `/.auth/me` endpoint.
0 commit comments