Skip to content

db.getSession not working in IE 11 #45

@nakulsaini

Description

@nakulsaini

We are using pouchdb-authentication as authentication process for PouchDB.
Its working great with Firefox and Chrome but not in IE.

For example:

db.getSession(function (err, response) {
        console.log(JSON.stringify(response));
});

Response in Firefox/Chrome:

{"ok":true,"userCtx":{"name":"admin","roles":["admin"]},"info":{"authentication_db":"_users","authentication_handlers":["oauth","cookie","default"],"authenticated":"cookie"}}

Response in IE:

{"ok":true,"userCtx":{"name":null,"roles":[]},"info":{"authentication_db":"_users","authentication_handlers":["oauth","cookie","default"]}}

Is there any specific option for IE we are missing or it needs some configuration over CouchDB?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions