DotNetOpenAuth is an open source library for OpenID 1.1 and 2.0 supporting OAuth 1.0, 1.1, 2.0 as Consumer and Service Provider.
0
votes
0answers
6 views
Withings API and DotNetOpenAuth -> Expected IProtocolMessage message
I'm currently working on integrating with the Withings API, but hit a roadblock when completing the ProcessUserAuthorization step.
public RequestTokenResult ProcessUserAuthorization()
{
...
0
votes
0answers
28 views
Login with Amazon using DotNetOpenAuth returns (400) Bad Request
I'm using DotNetOpenAuth on a .NET 3.5 solution to provide social login for our customers. I implemented successfully Facebook, Google and Twitter but I'm stuck at Amazon. I'm using same code for ...
0
votes
0answers
22 views
Google Authtication is raising the following :- OpenID auth request contains an unregistered domain:
I have created asp.net mvc5 web project, I have enabled Google Authtication by un-commenting the following inside the Startup.Auth.CS:-
app.UseGoogleAuthentication();
now I have create a project on ...
0
votes
0answers
7 views
DotNetOpenAuth isn't enforcing SSL via config
I have been struggling with trying to enable SSL for DNOA in our web app. I have searched Google and crawled Stackoverflow without any luck. Any help would be much appreciated. This is the config:
...
0
votes
0answers
16 views
ASP.NET Application DotNetOpenAuth can not access to the HTTPS request
First sorry for my english ;-)
I developp an ASP.NET application witch authenticate the user by the Belgian Identity card using DotNetOpenAuth.
In debug mode my application works fine but not in ...
0
votes
0answers
16 views
What exactly is the responsibility of the “ICryptoKeyStore” implementation in DotNetOpenAuth?
I've got a sample up and running, however I do not understand what exactly the ICryptoKeyStore implementation is used for. What is it storing exactly, and in what context are it's methods invoked?
I ...
0
votes
0answers
8 views
DotNetOpenAuth and IlMerge
Have been trying to use DotNetOpenAuth witl ILMerge and having some trouble.
At first was resulting in Unresolved assembly reference not allowed: System.Net.Http.
so I added a reference to it, that ...
1
vote
0answers
18 views
DotNetOpenAuth.AspNet is this the OAth key?
I have spent the past 6 hours smashing head against internet until I found a solution to getting and storing an OAth key which could be used to post to a twitter wall without a user giving permission. ...
0
votes
0answers
24 views
Error 400 (unregistered domain) on DotNetOpenAuth
I create this simple web form example in VS 2008
I got error 400 (OpenID auth request contains an unregistered domain) on Google;
But if i use MVC example everything is OK and i redirect to Google ...
0
votes
0answers
39 views
mvc 4 google openid migrate users to mvc 5 identity
of my 2k users on my mvc 4 app, 300+ of them are using the google openid as per mvc 4 simplemembership. i found a migration sql script that imported my users to the mvc 5 identity db tables and all ...
0
votes
1answer
32 views
How to use DotNetOpenAuth.OAuth.DesktopConsumer.RequestUserAuthorization with url contaqins port?
i have:
var service = new ServiceProviderDescription
{
RequestTokenEndpoint = new MessageReceivingEndpoint( this._requestTokenUrl, ...
0
votes
0answers
37 views
Server side application using Google Drive API and .NET
I'm trying to write my first .NET application using Google API.
I want to write a C# server side application (it is not a web server!).
This application is just like a console application that, FOR ...
4
votes
1answer
111 views
FetchData using DotNetOpenAuth?
I have implemented this simple code as described here ( vs 2010 , webforms)
protected void Page_Load(object sender, EventArgs e)
{
var openid = new OpenIdRelyingParty();
var response = ...
0
votes
0answers
49 views
DotNetOpenAuth returning “401 Unauthorized” for Google Contacts API
I'm having an issue accessing users' Google contacts using DotNetOpenAuth. I'm following the sample code that comes with the library and was able to get the access token for the service. However, when ...
5
votes
0answers
163 views
OpenID API for both asp.net and JavaScript support?
I've been struggling a lot lately to find decent solution which has authentication mechanism for server and client API's.
I put alot of effort trying to find working(!) code samples , but couldn't ...
15
votes
7answers
3k views
Changed domain error - OpenID auth request contains an unregistered domain
I set up a project on my main domain example.com, and then moved it to a subdomain sub.example.com.
Now when I try to use the same (default ASP.NET MVC or on my Discourse forum) project with OpenID ...
1
vote
1answer
55 views
Facebook DotNetOpenAuth Unexpected OAuth authorization response received
Trying to use DotNetOpenAuth to create a login with Facebook feature but I keep getting this
error message when the callback is reached
Unexpected OAuth authorization response received with callback ...
1
vote
0answers
53 views
Downloading from Google Drive returns 403 Forbidden after a while
I am downloading files with a ASP Web Application from Google Drive, using a service account, OpenAuth2 and a .p12 key file.
This works great, but after a while (10-12x downloading), it fails with a ...
0
votes
0answers
47 views
dotnetopenoauth: how can i get accesstoken after calling handletokenRequest?
I am writing code for oauth2.0 provider using dotnetopenoAuth library. I want to save accessToken in database for validation purpose.
Where/which method should I write code to save accesstoken with ...
0
votes
1answer
51 views
Creating CryptoKey: expiresUtc has an unexpected value
I am experimenting with creating a CryptoKey in .Net and would like to know the source of the following exception:
Exception has been thrown by the target of an invocation.
The argument has an ...
0
votes
0answers
22 views
LinkedIn Invitation API 403 Undocumented Throttling?
I am using DotNetOpenAuth in C# to communicate with the LinkedIn REST API. Everything works fine most of the time, but one of our users is getting this response along with a 403 every time they try to ...
0
votes
0answers
56 views
Use OpenAuth in asp.net without 401 response
I'm implementing the OpenAuth/Owin example that Visual Studio 2013 provides. What I'm trying is to let visitors log in via gmail or facebook, to let them comment on articles.
I've got it working, ...
0
votes
0answers
31 views
How to troubleshoot a DotNetOpenAuth protocol exception?
We're using DotNetOpenAuth in out application and occasionally we the exception "The underlying connection was closed: The connection was closed unexpectedly". The issue seems to occur in groups ...
0
votes
1answer
119 views
Using DotNetOpenAuth for NetSuite SuiteSignOn (Outbound Single Sign-on)
I am trying to figure out how to use DotNetOpenAuth (DNOA) to interface to NetSuite's SuiteSignOn. I have a java example I am trying to duplicate the function of, but I am new to OAuth. Here is what ...
0
votes
1answer
110 views
How to use DotNetOpenAuth.AspNet to provide social login while i'm using MVC3
I'm trying to use YahooJapan(Yconnect) as socail login in my WebSite and i decide to use the DotNetOpenAuth.AspNet.But i cannot get it work(actrully,the first step that to access the Authorization ...
0
votes
0answers
35 views
Dotnetopenauth : granting a reduce scope doesn't seems to work
I'm using DNOA to authorize a client app to a service but there's something I can't figure out. In my scenario, my client app request some scopes to the user (the resource owner) and he's allowed to ...
0
votes
0answers
119 views
DotNetOpenauth Microsoft and Twitter Custom Client
I am using DontNetOpenAuth for the first time. After finding the blog Custom LinkedIn OAuth Provider I have created my own linkedin custom client and change the following to get extra details
const ...
2
votes
1answer
180 views
Migrating Google OpenID to OpenID Connect: openid_id does not match
I have begun the process of Migrating from Google OpenID to the OpenID Connect with OAuth 2.0 following what is presented in the Documentation. I am able successfully complete the workflow of ...
0
votes
0answers
52 views
Passing parameters to the OpenID provider
I am creating a provider with openid and I need that the OpenIdRelyingParty passes custom parameters to the OpenIdProvider. How can I do?
OpenIdRelyingParty:
OpenIdRelyingParty Openid = new ...
1
vote
1answer
177 views
DotNetOpenAuth OAuth 2.0 authorization with Google
I am trying to use DNOA to connect with Facebook and Google over OAuth 2.0.
The same code is working with Facebook, but isn't working with Google
IAuthorizationState authorization = ...
1
vote
0answers
70 views
Google+ Sign In Or DotnetOpenAuth OAuth2.0
Recently I have started experiencing the same problem as mentioned in AuthenticationResult.IsSuccessful started returning false for google.
I am confused between choosing Google+ Sign In or using ...
0
votes
0answers
135 views
Google OAuth Log In Problems In MVC 4 Application
I am facing the same issue as mentioned in AuthenticationResult.IsSuccessful started returning false for google
I am using MVC 4 Web Api application and migrating it to MVC 5 would be a big change. ...
3
votes
0answers
302 views
Intermittent Google OpenId: No openId endpoint found (azure hosted)
In the last couple months, we have seen our ability to reliably find the endpoint for Google's OpenId plummet in our Azure Cloud hosted environments. This used to be a problem that would only crop up ...
1
vote
1answer
176 views
Secure Web Api called by PhoneGap application
I'm implementing some WebApi to upload/convert/return videos.
Another developer will implement a PhoneGap application that will call my WebApi to upload/convert/show videos to users.
The PhoneGap ...
0
votes
2answers
140 views
Facebook Login works in localhost but not in webhost
I have a class listed below
public class FacebookScopedClient : IAuthenticationClient
{
private string appId;
private string appSecret;
private string scope;
private const string ...
0
votes
0answers
116 views
Share Content on facebook from an Android App
I am able share my content on facebook mobile app using 2 ways
1 way is using native android coding .In this I am able to share the content for already logged in facebook account in mobile and coming ...
0
votes
0answers
69 views
'The password-answer supplied is invalid' issue for OpenAuth.CreateUser and OpenAuth.AddLocalPassword
'The password-answer supplied is invalid' issue for OpenAuth.CreateUser and OpenAuth.AddLocalPassword:
Hi,
I am using ASP.NET Membership with OpenAuth built-in [Visual Studio 2012]. Everything works ...
0
votes
1answer
47 views
DotNetOpenAuth and ResourceServer service https configuration
I am trying to configure the DataApi.svc service of the DotNetOpenAuth to call my resources via https using AJAX.
I can call the service and hit the code behind but the ...
1
vote
1answer
193 views
Migrating from Google OpenID to new OAuth 2
I see that there are some questions about this already but none that i found goes into any details.
I have using my own code from DotNetOpenAuth before but now i decided to switch over to the ...
0
votes
1answer
45 views
How to authorize all urls of a particular domain for callback with dotnetopenauth
I'm using dotnetopenauth right now to create a authentication server using the OAuth2 protocol and it works fine so far. But there's something I can't figure out : the clients of my authentication ...
0
votes
1answer
34 views
How to Tell If User Is a Regular User or an OpenAuth user with ASP.Net SimpleMembership?
Is there a built in function to tell if a user is a regular user or an openauth user? I'm using the built in simple membership provider for .net 4.5. I know I can check the UsersOpenAuthAccounts table ...
0
votes
0answers
66 views
DotNetOpenAuth - Unexpected response Content-Type text/html
When I try to request an authorization via the OAuthAuthorizationServer using the OAuthClient I have the following error: Stack Trace
Here is a screenshot of the webRequest content right after the ...
1
vote
0answers
40 views
Dotnetopenauth : validate a token without catching ProtocolFaultResponseException
I'm implementing a service that look for the presence (an validity) of a OAuth2 token. I do this using the following code
try
{
token = server.GetAccessToken();
//do token expiration ...
2
votes
0answers
240 views
Sequence contains no Element
I have did the Google Login using DotNetOpenAuth and it was working fine, but all the sudden i was getting the exception on
Exception Details: System.InvalidOperationException: Sequence contains no ...
0
votes
0answers
147 views
DotNetOpenAuth and oAuth2.0
I am sure others have asked this question before, but cannot find the information.
My organisation wants to implement oAuth2.0 (oAuth 2.0 resource servers, secured by bearer tokens from custom ...
0
votes
0answers
60 views
Suddenly I'm getting “Failed to obtain access token. Authorization Server reports reason: (unknown)” from Facebook
I've been using DotNetOpenAuth 3.5.0.10357 successfully for the last 2 years and TODAY I'm getting "Failed to obtain access token. Authorization Server reports reason: (unknown)" while processing ...
0
votes
0answers
96 views
Did Facebook made any changes to the Login API in 2014?
Currently I am facing problems while using the Facebook Login API authentication in asp.net. My app was working and everything was fine, but recently I was testing it and suddenly it won't redirect me ...
0
votes
1answer
332 views
Open Auth Authentication in ASP .NET Web Api
I am writing a ASP .NET WEB API Application which can be accessed by other devices and applications to interact with my Application hosted in IIS. How can I give OpenAuth Authentication for the WEB ...
0
votes
0answers
145 views
OAuth 2.0 2-legged using dotnetopenauth
I'm studying OAuth 2.0 and currently trying to achieve this:
1) XXX project Authorization Server :
(authorize using XXX project membership, as well as giving options to Google Login - in another ...
1
vote
1answer
148 views
Window Identity Foundation vs DotnetOpenAuth
Could anybody please tell me the differences between DotNetOpenAuth and Window Identity Foundataion? And also the use cases where one of these two should be preferred.
Thanks In Advace