Barebones CMS

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sso-server Tag Help
#1
Has anyone gotten "tags" working correctly?

I installed the sso-server and sso-client-php and have it working.

So now I want to validate users before allowing them to access my applications.

I've added a tag called "sso_authorized" and added it to my user.

But when I use the example php client from the documentation the tags don't come from the server.

In the test_oo.php file, I'm just adding a print_r($sso_client) at the end and user_info->tag_map is empty.

Also $sso_client->HasTag('sso_authorized') always returns 0.

Am I missing something?

Thanks,

Shanon
Reply
#2
Did you map the tag in the API key? Like fields, only mapped tags flow across with the exception of the SSO admin tag.
Author of Barebones CMS

If you found my reply to be helpful, be sure to donate!
All funding goes toward future product development.
Reply
#3
(04-06-2019, 10:50 AM)thruska Wrote: Did you map the tag in the API key?  Like fields, only mapped tags flow across with the exception of the SSO admin tag.

Thanks, that did it.  I didn't see that part.

For those looking, you Edit the API Key and map your tag to make the server pass it back to the client.  I think that is the way you say it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)