Skip to content

Commit

Permalink
Remove authorization on RedirectController endpoint (#15)
Browse files Browse the repository at this point in the history
* Remove Authorize attribute

* Add AllowAnonymous attribute
  • Loading branch information
DanRJ authored Sep 2, 2022
1 parent 499649f commit 594f254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Altinn.App.Api/Controllers/RedirectController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Altinn.App.Api.Controllers
/// <summary>
/// Controller for redirect and validation of URL
/// </summary>
[Authorize]
[AllowAnonymous]
[AutoValidateAntiforgeryTokenIfAuthCookie]
[Route("{org}/{app}/api/v1/redirect")]
[ApiController]
Expand Down

0 comments on commit 594f254

Please sign in to comment.