user3247958 user3247958 - 5 months ago 41
AngularJS Question

User Authentication in angular-moviemasher

I have integrated angular-moviemasher on my server but whenever I upload an image it gives me an authentication alert asking for username and password. The documentation and the alert indicate that any combination of username and password should be accepted. I have two problems:


  • I found no user / pw combination that is accepted

  • I want no authentication at all, allowing any user to upload any image



moviemasher

my site

Answer

Start by having a look at authutils. You need to change auth_challenge to not ask for any credentials, auth_ok should always be TRUE and because you then have no user, you also need to change at least auth_userid.

Best approach would be to not alter authutils directly but define the used functions upfront (i.e. implementing a no-auth configuration).

Comments