-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ClientId from Web Api Configuration. #53
Remove ClientId from Web Api Configuration. #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other review tasks required:
- Double check that this satisfies all the access token validation requirements from /~https://github.com/okta/oss-technical-designs/blob/master/technical_designs/jwt-validation-libraries.md#access-token-verification
- Review from the .NET Review group
namespace Okta.AspNet.Abstractions | ||
{ | ||
public class OktaWebApiOptions : OktaWebOptions | ||
{ | ||
public static readonly string DefaultAudience = "api://default"; | ||
|
||
public string Audience { get; set; } = DefaultAudience; | ||
|
||
[Obsolete("ClientId is deprecated")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use this message:
ClientId is no longer required, and has no effect. This property will be removed in the next major release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nbarbettini , Can you please provide a timeline, when this feature will be made available? We have a need where a Web API has to authorize multiple ClientIds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @anandseeman,
I am working on a few changes now. Then, it needs to be reviewed by peers.
I assume it should be published by EOW or early next week.
|
||
namespace Okta.AspNet.Abstractions | ||
{ | ||
public sealed class StrictSecurityTokenValidator : ISecurityTokenValidator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are removing this public class, bump the major version of Okta.AspNet.Abstractions. IMO, the major version of Okta.AspNet and Okta.AspNetCore do not need to be bumped yet.
Resolves #46