Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
331 views
in Q2A Core by
As far as I understand on the Single Sign On userid and publicusername are unique identifiers of the users. What would be the best approach to implement SSO if I don't have unique usernames?

I have userid and public name (which are none unique and cannot be identifier but should be displayed next to the question or comment/answer). My best thought is to run DB query on qa_get_users_html() and print the names I need with a link to /qa/<userid>.

In such case userid and publicusername will be the same on qa_get_logged_in_user(), qa_get_userids_from_public() and qa_get_public_from_userids().

Is there any better approach?
Q2A version: 1.5.3

Please log in or register to answer this question.

...