Skip to content
This repository was archived by the owner on Oct 16, 2019. It is now read-only.
This repository was archived by the owner on Oct 16, 2019. It is now read-only.

lock.on('authenticated') does not fire - solution #19

@markeaston

Description

@markeaston

Numerous people using auth0 lock have had this issue where the authenticated event does not fire. See https://auth0.com/forum/t/authenticated-event-not-triggering/3554. It is fixed by adding the following to the options property when calling lockProvider.init() ...
`var options = {
//Must have these two settings for auth0 lock to work properly!
auth: {
redirect: false,
responseType: 'token'
}
};

            lockProvider.init({
                clientID: APP_CONFIG.auth0ClientId,
                domain: APP_CONFIG.auth0Domain,
                options: options
            }); `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions