Skip to content

Added ConstantContact Provider #193

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added ConstantContact Provider #193

wants to merge 1 commit into from

Conversation

jmsolutionsgroup
Copy link

Constant Contact Oauth 2 provider


namespace Owin.Security.Providers.ConstantContact
{
public class Class1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please delete this file that does nothing?

};
if (!string.IsNullOrEmpty(context.AccessToken))
{
context.Identity.AddClaim(new Claim(ClaimTypes.NameIdentifier, context.AccessToken, XmlSchemaString, Options.AuthenticationType));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe any of the providers in this repository place their access tokens right in the users claims. If people wish to get access to these tokens they can pass in their own AuthenticationProvider with its own OnAuthenticated lambda

http://stackoverflow.com/questions/18942196/how-to-access-facebook-private-information-by-using-asp-net-identity-owin/19549581#19549581

#176 (comment)

: base("ConstantContact")
{
Caption = Constants.DefaultAuthenticationType;
CallbackPath = new PathString("/signin-ConstantContact");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you make the path string all lower case?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and then fix the comment on the parameter.

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

Successfully merging this pull request may close these issues.

2 participants