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

[ Bug report ] In AuthZ docs, authorization.NewRSAKeyProvider no longer exists. #3103

Open
TheHiddenLayer opened this issue Sep 20, 2024 · 1 comment

Comments

@TheHiddenLayer
Copy link

Required

What is the issue?

authorization.NewRSAKeyProvider(...) no longer exists in code, but it's mentioned in docs.

How can we reproduce the issue?

Just visit https://docs.temporal.io/self-hosted-guide/security and search for "NewRSAKeyProvider". Then, search for this in the authorization Temporal package. You won't find it cuz it's not there. I think it's been replaced by another function.

What is the expected behavior?

Additional context (optional—the more we know, the faster it goes)

The new function seems to have added ECDSA format support in addition to just RSA, so the function name has changed.

Screenshots:
N/A

Browser and version:
N/A

Device and screen size:
N/A

@TheHiddenLayer
Copy link
Author

TheHiddenLayer commented Sep 20, 2024

^ in my PR referenced above, I've made an educated guess that authorization.NewRSAKeyProvider is now authorization.NewDefaultTokenKeyProvider

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

No branches or pull requests

1 participant