-
Notifications
You must be signed in to change notification settings - Fork 551
Added "Meetup.com" provider #220
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
Conversation
|
@PinpointTownes Hi Kevin, Would you be able to guide me on what I am doing wrong and how I can fix the issue? Thank you. |
|
CI failed because it can't download |
| ClaimActions.MapJsonKey("urn:meetup:localized_country_name", "localized_country_name"); | ||
| ClaimActions.MapJsonKey("urn:meetup:state", "state"); | ||
|
|
||
| // Map user's photo information returned as a nested object |
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.
keep the indent of 12 spaces.
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.
I am sorry about that.
My Visual Studio has tabs as a space by default. I will update the indentations.
| ClaimActions.MapJsonKey(ClaimTypes.Email, "email"); | ||
|
|
||
| // Map custom claims | ||
| ClaimActions.MapJsonKey("urn:meetup:name", "name"); |
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.
See #216, it introduces ClaimTypes constants for the claims.
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.
OK, let me refer to the #216
We'll probably move to the new version at some point, but the error you're seeing on AppVeyor doesn't have anything to do with that: it's caused by the fact the GitHub.com folks removed support for TLS 1.0 and 1.1 2 days ago. The AppVeyor team is working on a global fix to force .NET apps to use TLS 1.2 in all their CI images. In the meantime, let's just ignore the AppVeyor errors. |
|
Thank you for looking into the AppVeyor issue @PinpointTownes. |
…ten to update it)
…ten to update it)
|
I've rebased according to an advice in #224. |
martincostello
left a comment
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.
This needs re-syncing with the dev branch so as to not include the changes to the build scripts.
| public const string PhotoBaseUrl = "urn:meetup:photo.base_url"; | ||
|
|
||
| public const string PhotoType = "urn:meetup:photo.type"; | ||
|
|
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.
Nit: remove blank line here.
|
Thanks for the PR @dance2die - as part of the preparation for ASP.NET Core 3.0 support, tests are being added to help make things easier to maintain and validate going forwards (see #292). Once tests are merged into the dev branch, could you copy the approach to add tests for the new provider into this PR please? |
|
#280 has been merged to |
|
Closing due to inactivity and merge conflicts - please re-open and rebase if you would like to pursue adding a provider for Meetup.com in a future release. |
|
@martincostello I haven't been using .NET core for awhile and I will leave it to others to do a PR should this is need Meetup provider. |
Hi, I have added a provider for Meetup.com.
Would you review the content and see if it's mergeable?
Please let me know should the merge does not conform to a guideline or a standard.
Test Steps
.AddMeetupinStartup.csClientId(shown asKey) andClientSecret(shown asSecret)2.1 and set the Redirect URL to "https://localhost:44318/"
Login to Meetup.com
Redirected page shows claims processed
