auth0 / auth0-sharepoint

Auth0 SharePoint support
https://auth0.com/docs/integrations/sharepoint
MIT License
9 stars 6 forks source link

Support different versions of Lock #3

Closed sandrinodimattia closed 6 years ago

sandrinodimattia commented 7 years ago

The authentication provider script should support different Login pages. It's currently downloading the login page from the CDN: https://github.com/auth0/auth0-sharepoint/blob/master/auth0-authentication-provider/auth0.psm1#L5

Ideally we should have 1 login page for every Lock release, and extend auth0.psm1 to allow user input:

Enable-Auth0 -loginpage:v9 ... (which will download it from https://cdn.auth0.com/sharepoint/login-9.aspx)

Enable-Auth0 -loginpage:v10 ... (which will download it from https://cdn.auth0.com/sharepoint/login-10.aspx)

If the loginpage option is not specified, we should just download it from `https://cdn.auth0.com/sharepoint/login.aspx

aaguiarz commented 6 years ago

We'll be using the Auth0 login page moving forward.