{"action":"closed","issue":{"url":"https://api.github.com/repos/venkyvb/OAuthSAMLClient/issues/1","repository_url":"https://api.github.com/repos/venkyvb/OAuthSAMLClient","labels_url":"https://api.github.com/repos/venkyvb/OAuthSAMLClient/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/venkyvb/OAuthSAMLClient/issues/1/comments","events_url":"https://api.github.com/repos/venkyvb/OAuthSAMLClient/issues/1/events","html_url":"https://github.com/venkyvb/OAuthSAMLClient/issues/1","id":235469312,"number":1,"title":"How to get SAML assertion in step 2?","user":{"login":"TechSkieur","id":20456414,"avatar_url":"https://avatars0.githubusercontent.com/u/20456414?v=3","gravatar_id":"","url":"https://api.github.com/users/TechSkieur","html_url":"https://github.com/TechSkieur","followers_url":"https://api.github.com/users/TechSkieur/followers","following_url":"https://api.github.com/users/TechSkieur/following{/other_user}","gists_url":"https://api.github.com/users/TechSkieur/gists{/gist_id}","starred_url":"https://api.github.com/users/TechSkieur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechSkieur/subscriptions","organizations_url":"https://api.github.com/users/TechSkieur/orgs","repos_url":"https://api.github.com/users/TechSkieur/repos","events_url":"https://api.github.com/users/TechSkieur/events{/privacy}","received_events_url":"https://api.github.com/users/TechSkieur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-13T08:06:19Z","updated_at":"2017-06-20T18:56:33Z","closed_at":"2017-06-20T18:56:33Z","body":"Hi venkyvb,\r\n\r\nVery nice sample code, very helpful for us. Thank you a lot.\r\n\r\nI have a question related to how to get SAML assertion in step 2? In our scenario, our app on YaaS platform wants to access a restful service API deployed on Sap Cloud Platform. This API can be accessed by oauth2 token. \r\n\r\nOur app is enabled with SSO, so we are thinking about using SAML assertion to call service's oauth2 service/endpoint to obtain token, but we are not clear how to get a bearer assertion...Call IDP to get it? And if we can get it, does it mean oauth2 also needs to have the functionality to receive SAML bearer assertion?\r\n\r\nThanks for your reply:)"}}
{"actor":{"display_login":"venkyvb"}}