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

All methods in API with List prefix have lack of PrivateKey mode usage #725

Open
shimbor opened this issue Jul 3, 2024 · 1 comment
Open
Labels

Comments

@shimbor
Copy link

shimbor commented Jul 3, 2024

Describe the bug?

Example: using private key authentication mode cannot call authorizationServerApiAsync.ListOAuth2ScopesWithHttpInfoAsync (Invalid session error), but use authorizationServerApiAsync.CreateOAuth2ScopeWithHttpInfoAsync

What is expected to happen?

This code should also generate injection of privateKey in auth header:
https://github.com/okta/okta-sdk-dotnet/blob/master/openapi3/templates/api.mustache#L362

What is the actual behavior?

No code, no auth, no call

Reproduction Steps?

  1. Add default private key configuration
  2. Try to call any List-prefixed method of any API

Additional Information?

No response

.NET Version

8.0.302

SDK Version

as from 7.0.6 - 8.0.1

OS version

BuildNumber Caption OSArchitecture Version
22631 Microsoft Windows 11 Enterprise 64-bit 10.0.22631

@shimbor shimbor added the bug label Jul 3, 2024
@laura-rodriguez
Copy link
Collaborator

Thanks for reporting this issue @shimbor!

I filed an internal ticket to be reviewed and prioritized by the team.

Internal Ref: OKTA-745547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants