Jump to content

Rick van Biljouw

Clients
  • Posts

    2
  • Joined

  • Last visited

Community Answers

  1. Rick van Biljouw's post in Implementing SSO - example returns random string? was marked as the answer   
    Hi all,
    I'm trying to write a quick script on my site to expose some details about the currently logged in user, based on the active session, and it's been a bit of a struggle so far.
    Using the following this piece of documentation: https://invisioncommunity.com/developers/docs/members-authentication/developing-single-sign-on-sso-integration-r65/
    With the sample code that's there I'm getting nothing but a randomly generated string as a response where I'm expecting the user's display name.
    I've tried exposing different variables, such as member_id, member_group_id and email all of which print a blank.
    Any ideas what the issue could be/where to start looking?
    Thanks!
     
    Edit: Damn 🤦‍♂️ Just as I hit post, I found there was a stray session_start() in one of my includes resetting the session. Mystery solved.
×
×
  • Create New...