Authentication docs could do with a note around .NET 8 changes #1876
Labels
bug
Identified as a potential bug
documentation
Needs a documentation update
good first issue
Should be pretty easy to do
help wanted
Not actively being worked on. If you plan to contribute, please drop a note.
medium effort
Likely a few days of development effort
small effort
Likely less than a day of development effort.
Milestone
Docs Update Suggestion
The section in the authentication docs that deals with overriding the mapping of the 'scp' claim no longer applies in .net 8.
https://ocelot.readthedocs.io/en/latest/features/authentication.html#auth0-by-okta
The
JwtSecurityTokenHandler
is no longer the default, and has been replaced byJsonWebTokenHandler
The example in the docs will work in .net 8 by simply replacing the reference to the
JwtSecurityTokenHandler
.i.e.
It is perhaps also worth mentioning in the docs that this does not solely apply to using Okta (in my case it also applies to Azure AD)
References:
Motivation for New Feature
Avoid confusion for anyone attempting to configure ocelot authentication on .net 8.
Without this change, scopes do not work.
Steps to Reproduce the Problem
n/a
Specifications
n/a
The text was updated successfully, but these errors were encountered: