Commit 498fbca
bin/e2e
@@ -21,4 +21,3 @@ $BROWSER http://ui.example.com:8080/oidc/new
curl http://api.example.com:8080/projects.json
curl -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2YmYxZTlmMy02OGIwLTQ4NmYtOGVlZi0wODFmZTg2YjJlODMiLCJpYXQiOjE3NDEyOTAzMzJ9.e30=' -XPOST http://api.example.com:8080/projects --data '{"name": "gitlab"}'
curl http://api.example.com:8080/projects.json
-
bin/idp
@@ -125,7 +125,6 @@ module Authx
end
def resource_from(global_id)
- # TODO:: Parse global id and convert to class
GlobalID::Locator.locate(global_id)
end
bin/ui
@@ -65,7 +65,6 @@ class UI
when "/saml/new"
return saml_post_to_idp(Rack::Request.new(env))
else
- # return saml_post_to_idp(Rack::Request.new(env))
return redirect_to("/saml/new")
end
when 'POST'