Skip to content

auth0-lock causing issues when used in a build process #80

@whyvez

Description

@whyvez

relates to original issue I filled here: auth0/auth0-angular#107

In this specific project we are using grunt to build all our vendor dependencies into a minified js file. In development everything works fine. When we build the production code and run it we get an Error: ClientID required as first parameter. error in the browser.

In dev when I look at the aut0-lock script in the chrome console it includes a whole bunch of other files and folders which differs from all the other dependency which are injected in an identical way. When I try to open the /dist/auth0-lock.js my editor goes nuts and cannot open the file.

Another colleague is working with me in trying to troubleshoot the issue and has found that auth0-lock.js is actually a folder which makes sense based on my findings outlined above.

Can you please help us shed light on what might be going on here and what we might be doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions