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
Authorization Code flow wrong cache key #4
Comments
Also, to add into this: I would like to understand why most of this information could not be retrieved from the openapi spec itself. The OpenApi 3.0 calls out |
Nice find, I completely missed this! 👍 |
Sorry for the slow response on this. I've been busy 😞 Merged in 5a6424d and released in 0.4.3. |
The authorization code workflow caches the authorization url as
authorization_url
; however, its usage in the remainder of the flow is for the nameAuthorizeUrl
(authorize_url
). This results in an invalid authorization code URL being presented to the console.Cached usage: https://github.com/danielgtaylor/restish/blob/master/oauth/authcode.go#L157
Proposed Change:
The text was updated successfully, but these errors were encountered: