16,012,759 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Bounze (Top 10 by date)
Bounze
8-Nov-15 11:18am
View
LOL!!
Yes, Sander, I have! A zillion times! hahahahahaha
Bounze
8-Nov-15 8:55am
View
Hi, Kornfield, and thank you for your answer!
Done...but no dice :'(
Bounze
11-Aug-15 16:19pm
View
Whoa...there goes the spoof concept. Yep, you're absolutely right.
How about this?:
ASP.Net MVC Single Page project. Maybe I could take that project, which includes all the authentication code out of the box (with security features), and maybe play a little bit with the models/controller/views and see if I can simply add to the included database system a table to store my applications IDs and Secrets and orient that solution into one that can serve as a sort of "Redirect Site for Authentication Purposes". Now, NO SOCIAL NETWORK USERNAME/PASSWORD would be needed, just the thing that the out of the box project requires after social network authentication: an email address for the local account during the register phase.
I'm thinking that one of the problems I might face could be the fact that the DB included should maybe be exported outside...
I don't know, what about that idea? It would take me a lot of time to make it happen but I think I'm gonna explore in that direction.
Hey thanks again I really really appreciate your time.
Bounze
11-Aug-15 16:10pm
View
Deleted
Thank you for your comment...
...but I wasn't refering to saving a user credential anywhere. That is plain stealing information and not what I was refering to. Furthermore, I don't think this conversation will be productive, so explaining any further is out of the question. Thank you for your time, though. Have a great day.
Bounze
11-Aug-15 9:07am
View
Thank you for your time in answering my question, Sergey! Please read below and thank you again for your time. I've replied to the one solution posted with more specific information.
Bounze
11-Aug-15 9:06am
View
Thank you for your time in answering my question, Anvil! Please read below and thank you again for your time. I've replied to the one solution posted with more specific information.
Bounze
11-Aug-15 9:03am
View
Thank you very much for your time in answering my question, Dave!
Like you and the others have said: Bad idea on my part. Yet, my ultimate goal is to centralize all social network auth processes so that I don't have to code the same thing over and over when creating a new application. I was thinking about developing a Web Service that can do the job for my applications while maintaining a User and App credential database.
What brought me to the idea of sending a command to the remote computer to open the default browser, is the unfortunate fact that one of the first steps of authenticating users with a social network is to "navigate" them to the social network's login page and wait for a response from their server. This gave me the idea of simply handling that part on the consumer side and sending to the web service the result for parsing, evaluation and further action...Maybe I'm a little over my head.
So, what would you suggest as a correct approach to this issue and solution? what would you say would be a better idea for achieving the goal of centralizing all OAuth processes in only one place, so that no matter which of my apps want to authenticate they would go there instead of directly to the social network servers? Maybe try to implement this using ASP.NET, which includes Identity? What would you suggest?
Thank you!
Bounze
10-Aug-15 21:18pm
View
Thank you very much for your input guys, very VERY glad to read your responses: Bad idea, so out the window it goes!
So in order to answer Sergey's statement, in the hopes that you guys can point me in the right direction...
My ultimate goal: To centralize all user authentication (specifically Social Network Authentication) processes in one Web Service, and not having different applications do their OAuth with these social networks (facebook, google, twitter, etc.) separately. That way, I can have all the OAuth flow for each service in a single solution (but with one Web Service/End Point each) and make it act as an intermediary between my apps and the social network oauth servers. My idea is that I can minimize coding by doing this because I don't have to program the oauth code each time I develop something new. My apps could all invoke this service which will take care of the flow and access a single database that manages these apps credentials with the social networks (app ids and secrets).
I think that explains it but let me know if I wasn't clear on something.
Thanks!!! :-)
Bounze
9-Jul-15 8:07am
View
Hi, j snooze! And thank you so much for your comment! Actually, I do understand that using a console app will be more work than to write 3 lines of code ;) hahahaah I have been investigating the code in the default template when you create a ASP MVC new project in VS. I do understand that everything is practically built in there and works beautifully; you just have to de-comment the code for the provider you wish to use (google, facebook, etc.) The problem is that in my specific situation, doing this by browser is not an option. Therefore, I understand that I would have to build the flow manually, but since I'm new to C# and ASP.Net MVC, I've been trying to "decipher" all the code in the default template so that I can understand what goes on and then figure out how to build my solution in a console or windows application from scratch using the concepts and object in the template: LOTS OF WORK. What I'm really looking for is a sort of TUTORIAL that can explain, in plain and simple words (like for beginners), the scenario: which elements/objects are needed for the whole thing to work and how to use them in C#.
Thanks a BUNCH for your time and care in answering my problem! :-D
Bounze
8-Jul-15 14:55pm
View
Yes, and here's what they say about showing code-specific examples:
"Because of the various combinations of code languages that could be used in web apps, our guide doesn't show specific examples. However most modern languages will be capable of URL parsing..."
Apparently they feel like they would be sending a wrong message if they post examples using one language in particular...or something like that. But thank you for your suggestion, although I've been all over that site looking for help already ;-)
Show More