{"action":"created","issue":{"url":"https://api.github.com/repos/Shazwazza/UmbracoIdentity/issues/82","repository_url":"https://api.github.com/repos/Shazwazza/UmbracoIdentity","labels_url":"https://api.github.com/repos/Shazwazza/UmbracoIdentity/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/Shazwazza/UmbracoIdentity/issues/82/comments","events_url":"https://api.github.com/repos/Shazwazza/UmbracoIdentity/issues/82/events","html_url":"https://github.com/Shazwazza/UmbracoIdentity/issues/82","id":287516634,"number":82,"title":"Custom Membership provider support","user":{"login":"blachawk","id":3985279,"avatar_url":"https://avatars0.githubusercontent.com/u/3985279?v=4","gravatar_id":"","url":"https://api.github.com/users/blachawk","html_url":"https://github.com/blachawk","followers_url":"https://api.github.com/users/blachawk/followers","following_url":"https://api.github.com/users/blachawk/following{/other_user}","gists_url":"https://api.github.com/users/blachawk/gists{/gist_id}","starred_url":"https://api.github.com/users/blachawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blachawk/subscriptions","organizations_url":"https://api.github.com/users/blachawk/orgs","repos_url":"https://api.github.com/users/blachawk/repos","events_url":"https://api.github.com/users/blachawk/events{/privacy}","received_events_url":"https://api.github.com/users/blachawk/received_events","type":"User","site_admin":false},"labels":[{"id":113156812,"url":"https://api.github.com/repos/Shazwazza/UmbracoIdentity/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-10T17:30:27Z","updated_at":"2018-02-27T01:48:06Z","closed_at":"2018-01-18T19:42:49Z","author_association":"NONE","body":"Is there any flexibility in using UmbracoIdentity to authenticating members already existing in an external database? I have an SSO server that handles its own members, and would simply like have Umbraco recognize the members 'there'.  Is this the right package for the job? or perhaps there is an alternative for my goal?\r\n\r\nI really don't want to re-create all my members in Umbraco.  I simply want a single database source of members established, and have Umbraco recognize them there.\r\n\r\nThanks for any tips\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Shazwazza/UmbracoIdentity/issues/comments/368717655","html_url":"https://github.com/Shazwazza/UmbracoIdentity/issues/82#issuecomment-368717655","issue_url":"https://api.github.com/repos/Shazwazza/UmbracoIdentity/issues/82","id":368717655,"user":{"login":"Shazwazza","id":1742685,"avatar_url":"https://avatars0.githubusercontent.com/u/1742685?v=4","gravatar_id":"","url":"https://api.github.com/users/Shazwazza","html_url":"https://github.com/Shazwazza","followers_url":"https://api.github.com/users/Shazwazza/followers","following_url":"https://api.github.com/users/Shazwazza/following{/other_user}","gists_url":"https://api.github.com/users/Shazwazza/gists{/gist_id}","starred_url":"https://api.github.com/users/Shazwazza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shazwazza/subscriptions","organizations_url":"https://api.github.com/users/Shazwazza/orgs","repos_url":"https://api.github.com/users/Shazwazza/repos","events_url":"https://api.github.com/users/Shazwazza/events{/privacy}","received_events_url":"https://api.github.com/users/Shazwazza/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T01:48:06Z","updated_at":"2018-02-27T01:48:06Z","author_association":"OWNER","body":"There are 2 different things :\r\n\r\n* Users == back office users, OAuth integration for Users is built in to Umbraco: https://our.umbraco.org/Documentation/Reference/Security/#custom-oauth-providers \r\n* Members == front-end members that login to gain access to any resources and pages that you've created. OAuth integration for Members is done by the developer and depends on your requirements, here's some options.  If you have Member data that exists elsewhere there are a couple of options:\r\n   * If you wanted to have an OAuth provider button on your website for members like  \"Sign in with MyCompany\" and then have a local member created than it will work with this library and since this library ships with Code, you can modify that to suit your needs. All of the OAuth linking is done in the controller that is shipped, for example instead of prompting a newly logged in member with additional details, you could skip that step, or do whatever you wanted: https://github.com/Shazwazza/UmbracoIdentity/blob/master/src/UmbracoIdentity.Web/App_Code/Controllers/UmbracoIdentityAccountController.cs#L93  . This would allow you to have custom membership data stored in Umbraco for this linked member but retain the SSO login with the button. If you don't want to use custom data stored in Umbraco then it will be up to you to integrate managing the member data with your system separately.\r\n   * If you wanted to only have an OAuth provider button on your website for members like \"Sign in with MyCompany\" then you would use ASP.NET Identity to setup an Auth flow to your OAuth enabled provider and then any custom data retrieval or updates would be up to you to create. Essentially this is the same as having a regular website authenticating with a custom OAuth provider which you can find references for online.\r\n   * Create a custom ASP.NET membership provider that uses your data and replace Umbraco's default \"UmbracoMembershipProvider\" with your own type. Similarly if you did this, you'd want to replace Umbraco's default \"UmbracoRoleProvider\" with data from your solution. This does not cover anything to do with OAuth but would let you use the ASP.NET membership provider APIs to perform any login/registration logic if you wanted. For any custom data retrieval that doesn't exist in the membership provider, it would be up to you to integrate your Umbraco solution with your other membership solution. "}}
{"actor":{"display_login":"Shazwazza"}}