Skip to content

Commit 594f254

Browse files
authored
Remove authorization on RedirectController endpoint (#15)
* Remove Authorize attribute * Add AllowAnonymous attribute
1 parent 499649f commit 594f254

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Altinn.App.Api/Controllers/RedirectController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Altinn.App.Api.Controllers
1616
/// <summary>
1717
/// Controller for redirect and validation of URL
1818
/// </summary>
19-
[Authorize]
19+
[AllowAnonymous]
2020
[AutoValidateAntiforgeryTokenIfAuthCookie]
2121
[Route("{org}/{app}/api/v1/redirect")]
2222
[ApiController]

0 commit comments

Comments
 (0)