-
Notifications
You must be signed in to change notification settings - Fork 115
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
Compatability with Salesforce OAuth2 #95
Comments
What do you mean by "text"? Text in error messages? To be honest, checking the Admittedly I'm more familiar with the Google authorization flows than the standardized ones. If feasible, I would extend the code to handle more providers, even if it needs special casing. If it's about checking error codes, I think it shouldn't be too much a burden on the code base to just add more cases where needed.
Usually fields in yup-oauth2 are "required" insofar that the I'm definitely interested in seeing your changes anyway! |
Ok, I'll tidy up the changes I've made and open a PR. Probably quicker to do that than explain the answers to the questions. |
yes, my questions amount to "please send a PR" anyway :) |
Not sure if this issue has already been addressed, but if you're still looking to support multiple field names in responses from the server a recent refactor gives an example of doing that in an ergonomic way: https://github.com/dermesser/yup-oauth2/blob/master/src/authenticator_delegate.rs#L42 Here the DeviceAuthResponse as defined by the oauth2 standard includes |
Hi,
I've been trying to get the Device Flow working with the Salesforce OAuth2 api. I've got it working but I've had to make some changes.
Before doing too much work on it I wondered how you wanted to handle these variances.
The changes roughly fall into the following categories:
Are you interested in accepting enhancements to allow connecting to other OAuth providers? I am guessing the main hard requirement is that we need to keep compatability with the google api. Is there anything else I need to keep in mind?
The text was updated successfully, but these errors were encountered: