FREE 'Quick Login' code For Nabble users websites

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

FREE 'Quick Login' code For Nabble users websites

Camo
This post was updated on .
Would you like your users to be able to log into your nabble forum from another page on your website?

Ive written a short peice of javascript to allow my users to log into my nabble forum from my websites front page.

Only logs into Nabble version of your Forum Not your embedded forum However all posts and messages, functions etc work as normal, they will appear in your embedded version!

Please See uploaded file , read carefully for details!

You can veiw and test the code using this TESTBED Or see it Here PLEASE DO NOT register and login to my forums just to test it! Please Respect my website.

Enjoy      log_in_code.txt



Camo's Classifieds! © Camo's Reptiles
Reply | Threaded
Open this post in threaded view
|

Re: FREE 'Quick Login' code For Nabble users websites

Peter <Nabble>
Good job. I'm sure there will be users that will use your code. Thank you for your contribution.
Nabble staff. We never ask for passwords.
Reply | Threaded
Open this post in threaded view
|

Re: FREE 'Quick Login' code For Nabble users websites

bheibheqoh
In reply to this post by Camo
its good. but its better to function also on embeded forums that is redirecting
Reply | Threaded
Open this post in threaded view
|

Re: FREE 'Quick Login' code For Nabble users websites

Peter <Nabble>
I don't see how it can be done with embedded forums.
Nabble staff. We never ask for passwords.
Reply | Threaded
Open this post in threaded view
|

Re: FREE 'Quick Login' code For Nabble users websites

Camo
This post was updated on .
My intention was originally to have it log into embedded forums, but I think the redirect is an issue.
Im not sure its possible across domains, unless Hugo can think of something.
Any nabble user 'coding genius' like to have a go? :)

Single sign-on (SSO) is conceptually pretty simple.

User hits domain1.com.
domain1.com sees there's no session cookie.
domain1.com redirects to sso.com
sso.com presents login page, and take credentials
sso.com sets session cookie for the user
sso.com then redirects back to domain1 to a special url (like domain1.com/ssologin)
the ssologin URL contains a parameter that is basically "signed" by the sso.com. It could be as simple as a base64 of encrypting the loginid using a shared secret key.
domain1.com takes the encrypted token, decrypts it, uses the new login id to log in the user.
domain1 sets the session cookie for the user.
Camo's Classifieds! © Camo's Reptiles