Skip to content

Credential login not working #14

@devcollazo

Description

@devcollazo

Api endpoints changed, so login it's not working. /api/admins/auth-with-password this is the new correct way.

	async preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject) {
		// ...
			url: `${url.endsWith('/') ? url.slice(0, -1) : url}/api/collections/_superusers/auth-with-password`, // here replace with url /api/admins/auth-with-password
              // ...
	}

Just that, thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions