Skip to content
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

Merged
merged 4 commits into from
Jan 14, 2019

Conversation

laura-rodriguez
Copy link
Collaborator

Resolves #46

Copy link
Contributor

@nbarbettini nbarbettini left a 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:

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")]
Copy link
Contributor

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.

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

Copy link
Collaborator Author

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
Copy link
Contributor

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.

@laura-rodriguez laura-rodriguez merged commit 405c73c into master Jan 14, 2019
@laura-rodriguez laura-rodriguez deleted the 46-remove-client-id-from-webapi-config branch January 14, 2019 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants