Shindig
  1. Shindig
  2. SHINDIG-1754

JSONOAuth2Persister doesn't do anything.

    Details

    • Type: Question Question
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Java

      Description

      I'm confused about org.apache.shindig.gadgets.oauth2.persistence.sample.JSONOAuth2Persister in the gadgets module. Its JavaDocs says:
      "Persistence implementation that reads <code>config/oauth2.json</code> on startup". But its finder-methods always return null. Is it a sample which should be used or is it buggy?

        Activity

        Hide
        Adam Clarke added a comment -

        Christian, going through the OAuth2 JIRAs and noticed this is still marked as "Open." I've never seen an instance where the JSONOAuth2Persister isn't reading the oauth2.json file. The data in oauth2.json isn't useful until you modify for your needs, so maybe that's the problem. You could also try enabling trace for org.apache.shindig.gadgets.oauth2.*.

        Show
        Adam Clarke added a comment - Christian, going through the OAuth2 JIRAs and noticed this is still marked as "Open." I've never seen an instance where the JSONOAuth2Persister isn't reading the oauth2.json file. The data in oauth2.json isn't useful until you modify for your needs, so maybe that's the problem. You could also try enabling trace for org.apache.shindig.gadgets.oauth2.*.

          People

          • Assignee:
            Unassigned
            Reporter:
            Christian
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development