soundscape-community / authoring-tool

MIT License
3 stars 1 forks source link

WIP: Dockerfile #5

Closed steinbro closed 3 months ago

steinbro commented 9 months ago

First task in #4. This currently builds, but doesn't run due to a missing auth file. Where do I get one of these? I don't understand the language int the README.

sheldonej commented 9 months ago

First task in #4. This currently builds, but doesn't run due to a missing auth file. Where do I get one of these? I don't understand the language int the README.

Add a folder named ".auth" (the folder needs the period in the name) and a json file name "me.json" inside of that folder. The json can be empty: {}. This should fix that issue.

The structure of that json is followed if you want to fill it out with test data for the time being.

[ { "user_claims": [ { "typ": "http://schemas.microsoft.com/identity/claims/objectidentifier", "val": "123vhjvjh45" }, { "typ": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", "val": "users@example.com" }, { "typ": "name", "val": "John Doe" }, { "typ": "preferred_username", "val": "johndoe" } ], "id_token": "some_id_token_value" } ]

RDMurray commented 5 months ago

@steinbro what do you want to do with this pr? We should probably get it up to date so it can be used for production. I'm happy to take it on if you don't have time.

steinbro commented 5 months ago

I was assuming you were already using something of this sort for the current deployment, but if this is still useful then by all means update and merge it in. It's been long enough since I've touched it that you're probably better suited to pickit up than I.

RDMurray commented 4 months ago

Ok I think this might be ready for production. It seems to be working. I'll get it up on a temporary host name for testing.

@steinbro would you like to review before I merge?