Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Help with SSO

I was looking at the SSO section for Vanilla, but I'm confused about the JSONP part. Can anyone help me with this?

Comments

  • hgtonighthgtonight ∞ · New Moderator

    What part specifically are you having trouble with?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • @hgtonight said:
    What part specifically are you having trouble with?

    I don't understand what JSONP is or how to use it.

  • LincLinc Director of Development Detroit Vanilla Staff
    edited February 2017

    It's JSON formatted as a Javascript function.

    If this is your JSON string:

    {"JSON":true}

    This is how to format it as JSONP with callback "example":

    example({"JSON":true});

    hgtonight
  • Dog2puppyDog2puppy New
    edited February 2017

    @Linc said:
    It's JSON formatted as a Javascript function.

    If this is your JSON string:

    {"JSON":true}

    This is how to format it as JSONP with callback "example":

    example({"JSON":true});

    Okay. I think I'm starting to get the hang of it.

Sign In or Register to comment.