I am leaving breadcrumbs for others, not sure if this intended behavior or a bug. I am using NET6 and have noticed Alba's JwtSecurityStub does not work if you don't specify a ValidAlgorithms and ValidAudience.
I wasn't setting ValidAlgorithms and using ValidAudiences instead. I don't mind setting the algorithms although NET6 functions fine without them specified. I would prefer to use the audience enumeration prop instead, but since this is for testing I understand you would only have one. It seems confusing I have to set both ValidAudience and ValidAudiences. I will leave good comments for now.
I am leaving breadcrumbs for others, not sure if this intended behavior or a bug. I am using NET6 and have noticed Alba's JwtSecurityStub does not work if you don't specify a
ValidAlgorithms
andValidAudience
. I wasn't settingValidAlgorithms
and usingValidAudiences
instead. I don't mind setting the algorithms although NET6 functions fine without them specified. I would prefer to use the audience enumeration prop instead, but since this is for testing I understand you would only have one. It seems confusing I have to set bothValidAudience
andValidAudiences
. I will leave good comments for now.Working under NET6 but not Alba
Working under NET6 and Alba