Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

SSO - email address

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.

The SSO integration is great! Really easy to setup and works like a charm

Only issue I got is how to set the email address when the user isn't registered yet, but he's registered in my web app. So I want to do like the doc says:

Using this logic, if you want to set a custom email or password, you must add it to the session before getting into JForum:



But I guess I need to do this within the JForum web application right? Or is there a way to share session information between my web app and the JForum one? Then I would have to add code in JForum that connects to my database and does a query for the email. Guess this can be done, but just want to be sure that it is the right way to do it
[originally posted on jforum.net by cnordvik]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well I implemented it and it works great . SSO really has solved my major issue with JForum and now I am really happy with it!

Thanks a lot for a great forum!

My Forum is located at:
http://www.hvaerstillingen.no/Forum/ if anyone is interested in seeing SSO in action

-Chris
[originally posted on jforum.net by cnordvik]
 
No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic