Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Get fCC user info to and from a tutorial (add webhook URL) #18

Closed

Description

@moT01

Not sure on this one, but we will want to know if an fCC user has completed a tutorial so we can put it in our DB and know if they did all the projects for a cert, or so we can put a checkmark next to what they've completed, etc...

@raisedadead mentioned that this shouldn't be a problem at point, can you provide any input here?

Activity

  1. added
    Priority: High
    on Apr 1, 2021
  2. moT01 commented on Jul 20, 2021

    @moT01
    MemberAuthor

    On the fCC end, we will need to generate URL's for users. On the CodeRoad end, we need a place to enter that URL to submit steps or entire tutorials/projects

  3. changed the title [-]Get fCC user info to and from a tutorial[/-] [+]Get fCC user info to and from a tutorial (add webhook URL)[/+] on Jul 20, 2021
  4. AdamZaczek commented on Oct 5, 2021

    @AdamZaczek
    Collaborator

    You can pass any environment variables to the docker container like this

    https://codeally.io/embed/?repoUrl=https://github.com/codeallyio/hackathon-starter-codeally&envVariables=ENV_VARIABLE=VALUE,ANOTHER_VARIABLE=ANOTHER_VALUE
    

    Let me know if there are any issues!

  5. moT01 commented on Oct 5, 2021

    @moT01
    MemberAuthor

    I am having an issue @AdamZaczek - I opened one of my URL's, similar to the example you just gave, to test things - I'm quite sure I didn't include any variables when I opened it - now, every embed link I open takes me to the same container (including the example you gave). I outlined some more details here. I cannot confirm if the envVariables are working since I cannot create a new container. The dashboard you mentioned would be nice, so I (and anyone) could manually delete containers if one becomes problematic or something.

  6. AdamZaczek commented on Oct 6, 2021

    @AdamZaczek
    Collaborator

    I see, we're on it!

  7. AdamZaczek commented on Oct 26, 2021

    @AdamZaczek
    Collaborator

    @moT01 This should work now. Let me know if you see any issues!

  8. moT01 commented on Oct 27, 2021

    @moT01
    MemberAuthor

    They don't seem to be working quite right @AdamZaczek

    When I use a URL like the one you shared directly in the address bar, they show up when I printenv in the terminal of the container

    When I have the URL in an <iframe>, they don't show up. I tested it a number of times. That seems to be the difference.

  9. moT01 commented on Nov 4, 2021

    @moT01
    MemberAuthor

    This appears to be working now - thanks @AdamZaczek 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CodeRoadPriority: HighdiscussingfreeCodeCamp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions