How to implement SSO with Joomla? - asp.net

We have following scenario. We have 2 websites one is in asp.net and 2nd in Joomla 1.5.
We want SSO from Joomla to ASP.Net site. Integration Flow as below:
1) Joomla site will have Menu Item named with "Join ASP.Net Site"
2) When Logged in User clicks on the Link we need to pass URL along with Logged in UserName in Joomla
E.g. www.abc.com?username=MNP (here, MNP is username of the Joomla user who has clicked the link.) if user xyz is logged in then we need link as
www.abc.com?username=xyz
cCn somone provide the help how to create this?
Thanks
Regards
Jigar Shah
Now, my question is that

Look at CAS from ja-sig which has clients for both .Net and for PHP
Joomla has a CAS authentication plugin.
Wiki docs at https://wiki.jasig.org/display/CASUM/Home

Related

is it possible to create an sso azure ad without using the login.microsoft page

i am new in azure ad
and i have been using sso plugin for azure ad to let my client user sigin into the wordpress
but this plugin make my client user login through microsoft login page
i have been looking for a solution to create a page that can bypass microsoft login page
but i cannot find anything except an sso using saml that using the same redirect method
and i kinda lost now
can anyone told me is it possible to create that kind of page?
if no is there any reason why
You can't. If you use Azure AD Premium you can style it a lot, but it will still have much of the same look.
That is on purpose.
See the comments on this question: Is custom login page of Azure Active Directory possible?

Is it possible to integrate Social Login in asp.net that will work over multiple domain

I have 2 asp.net website hosted on 2 different domain in a same server and also sharing the same database.
How can I implement it like this way that user logged via social login provider(Facebook, Google) and they will be logged in other site automatically?
Can anyone give me some sort of reference about this?
You need to go with option of SSO
Please try the below solution that I found.
for Social Login
https://codeload.github.com/rustd/SocialLoginASPNET/zip/master
for Cross Domain (SSO)
http://www.codeproject.com/Articles/106439/Single-Sign-On-SSO-for-cross-domain-ASP-NET-applic
Asp.net forms authentication and multiple domains
I hope this helps. let me know your outcome.

Wordpress login FIRST then SSO to 3rd party platform

I am not a developer but not a total noob either.
I need some advice on how to implement the correct solution to my problem, and your help would be VERY much appreciated.
I have a WP site (www.mysite.com), I have the my users signing up on WP and once signed in they can navigate the site and change and check various things on their front-end user profile page. Now the problem comes in where I am using a 3rd party LMS platform running on a subdomain where I have courses my users can take (learn.mysite.com) - This platform at the default level requires users to sign up, and then via a shortcode placed on the WP user profile page it generates a login form. They then need to login to that platform from the main site and get redirected to the LMS platform. The problem is I DO NOT want my users to sign up again and have to 'login' a 2nd time, they should be able to 'login' by clicking a simple button on their profile page and get redirected (SSO) from WP to the application. i.e The application should realize the user exists in my WP databse and 'let them in'
Now, The 3rd party platform does offer SSO support for SAML 2.0 and LDAP. So how can I make this work with my WP site as I need it explained above?
In short What I need:
Users login to my WP site, with their WP login details, WITHOUT being automatically redirected to 3rd party platform. THEN, when they choose to start learning click a simple link/button (placed on their profile page for example) and get passed seamlessly (SSO) to the platform?
I hope this makes sense, and how can I achieve this?

Sign in to ASP.NET forum from non-forum page

I have an Umbraco (ASP.NET CMS) website. Inside this website I have created a directory called 'forum' and into that directory I have installed 'JitBit' ASP.NET forum. The 'forum' folder in my site is running as an application in IIS as per the forum documentation. It works great.
So to be clear, my website and forum are on the same domain e.g http://www.example.com and http://www.example.com/forum.
Now I want to have a log-in form on the website homepage, containing 'username' and 'password' fields which posts to the forum and signs the user in. There is no membership system on the main website, just the forum, but I'd like users to log in to the forum from the website homepage.
It seems that JitBit forum uses ASP.NET webforms, and the log-in form on the forum homepage posts to itself (just default.aspx) so my question is, can I post to a webforms page somehow from a non webforms page and get this log-in to work? I've tried the obvious simple HTML post from the homepage, using the correct username and password input names, but that doesn't work. Is there a way to make this work or do I have to build a membership system on the main website and cross-authenticate when a user gets to the forum?
Many thanks for any pointers.
I solved this adding value="Request.Form["Username"]" and value="Request.Form["Password"]" in the log-in input fields in the forum masterpage, then injecting some JavaScript to submit the log-in form on page load if those two values are present (if the log-in form has been posted). It's a little bit of a hack but works nicely.
I couldn't do anything with usercontrols as per #user3771965's suggestion as the parent site is MVC and I don't have source to the forum.

Login to wordpress website using an existing google

I have a wordpress site.
currently I don't have any login/registration page/form in our website.
I need to create a login page where user can login using an existing google account. it should be the only way to login to our website. Please note, I'm not talking about login page to wordpress admin pages...I'm talking about login page for website.
Steps:
1) user goes to my website
2) click login link
3) navigates to goole sign in page
4) sign in
5) back to the website , the user is logged in
Is there any WP plugin for such case.
TIA, Anna
Bear in mind that the login page for the WP admin pages is the default login screen for users as WP understands them. I don't know what you expect logged-in users to be able to do or see, but you'd have to manage that access at a different level if you're not using the WP users.
If you just want commenting but with Google logins (and others) I'd recommend Disqus.
You need to sign up with Google for this: https://developers.google.com/accounts/ There are several options there like using Google+ log-in, etc.
I haven't seen a wordpress plug-in for it, and even if there is, you'd probably have to register with Google somewhere in the above link because they need to give your specific website permission.
If you want to cut to the chase, look at this link which talks about installing the google button using HTML https://developers.google.com/+/web/signin/add-button

Resources