-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
Support for Zendesk #2217
base: dev
Are you sure you want to change the base?
Support for Zendesk #2217
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR! ❤️
I am happy to help in testing validation as I have an account with Zendesk that is used for Open-source project testing.
Yes please! (I don't have a Zendesk account and won't be able to test it myself)
TokenEndpoint="https://{settings.Tenant}.zendesk.com/oauth/tokens" | ||
UserInfoEndpoint="https://{settings.Tenant}.zendesk.com/api/v2/users/me"> | ||
<CodeChallengeMethod Value="S256" /> | ||
<GrantType Value="authorization_code" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<GrantType Value="authorization_code" /> |
When authorization_code
is the only grant type supported, adding it explicitly isn't required as it's always added by the provider generator when you don't explicitly set a list of grant types.
<Setting PropertyName="ClientType" ParameterName="kind" Type="String" Required="false" | ||
DefaultValue="confidential" Description="Client Type: public or confidential. Public OAuth clients are applications that run in environments where credentials cannot be securely stored, such as mobile and web apps. These clients are required to use PKCE. Confidential OAuth clients run on secure servers where their credentials can be kept secure. These clients can use PKCE, client secret, or both." /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Setting PropertyName="ClientType" ParameterName="kind" Type="String" Required="false" | |
DefaultValue="confidential" Description="Client Type: public or confidential. Public OAuth clients are applications that run in environments where credentials cannot be securely stored, such as mobile and web apps. These clients are required to use PKCE. Confidential OAuth clients run on secure servers where their credentials can be kept secure. These clients can use PKCE, client secret, or both." /> |
This setting shouldn't be needed (and since you didn't write custom code to do something based on its value, it really has no effect whatsoever) 😃
</Configuration> | ||
</Environment> | ||
<Setting PropertyName="Tenant" ParameterName="tenant" Type="String" Required="true" | ||
Description="Gets or sets the tenant used to identify the Zendesk instance." /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description="Gets or sets the tenant used to identify the Zendesk instance." /> | |
Description="Gets or sets the tenant used to identify the Zendesk instance" /> |
(the . is automagically added by the generator)
@@ -2153,6 +2153,27 @@ | |||
<Environment Issuer="https://api.login.yahoo.com/" /> | |||
</Provider> | |||
|
|||
<Provider Name="Zendesk" Id="5577b117-1f3d-464f-b987-aabf7c0ab3f7" Documentation="https://developer.zendesk.com/api-reference/introduction/security-and-auth/#oauth-access-token"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Provider Name="Zendesk" Id="5577b117-1f3d-464f-b987-aabf7c0ab3f7" Documentation="https://developer.zendesk.com/api-reference/introduction/security-and-auth/#oauth-access-token"> | |
<Provider Name="Zendesk" Id="5577b117-1f3d-464f-b987-aabf7c0ab3f7" Documentation="https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application"> |
Let's use https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application instead of https://developer.zendesk.com/api-reference/introduction/security-and-auth/#oauth-access-token as the last one doesn't contain anything really useful.
Hey @mozts2005, If you have any question or need help to complete this PR, please let me know 😃 Cheers. |
I have added Support for Zendesk. I am happy to help in testing validation as I have an account with Zendesk that is used for Open-source project testing.