{"id":15569020,"url":"https://github.com/timwaters/warper_oauth_token_auth_demo","last_synced_at":"2025-04-04T00:40:48.910Z","repository":{"id":66707012,"uuid":"60295252","full_name":"timwaters/warper_oauth_token_auth_demo","owner":"timwaters","description":"Simple mini app to demonstrate using j-toker jquery authentication and simple_token_authentication for the wikimaps warper ","archived":false,"fork":false,"pushed_at":"2016-06-22T14:19:38.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-09T12:29:36.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timwaters.png","metadata":{"files":{"readme":"readme","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-02T20:31:16.000Z","updated_at":"2016-06-02T20:32:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c4a427c-db09-4fc4-8413-9310c1f50d8a","html_url":"https://github.com/timwaters/warper_oauth_token_auth_demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwaters%2Fwarper_oauth_token_auth_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwaters%2Fwarper_oauth_token_auth_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwaters%2Fwarper_oauth_token_auth_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwaters%2Fwarper_oauth_token_auth_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timwaters","download_url":"https://codeload.github.com/timwaters/warper_oauth_token_auth_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103301,"owners_count":20884023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T17:21:51.680Z","updated_at":"2025-04-04T00:40:48.888Z","avatar_url":"https://github.com/timwaters.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple mini app to demonstrate using j-toker jquery authentication and simple_token_authentication for the wikimaps warper \n\nrun as a server:\nfor example:  `python -m SimpleHTTPServer` and navigate to localhost:8000 \n\nClick login via github, jtoker will call the warper, which calls github and then via the browser postMessage API opens a window. \nJtoker is listening to the message and logs the user in.\n\nClick the Get User details and call the warper with details about the user. This is authenticated via headers.\n\nwhen it loads, jtoker will try to use the token it has stored in localstorage and call /api/v1/validate_token  which if the token is still valid will return the user details and effectively log the user in. This means that the user does not have to log in via oauth each time they load the js app.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimwaters%2Fwarper_oauth_token_auth_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimwaters%2Fwarper_oauth_token_auth_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimwaters%2Fwarper_oauth_token_auth_demo/lists"}