Skip to content
#

feathersjs

Here are 236 public repositories matching this topic...

PowerMogli
PowerMogli commented Sep 9, 2019

We are trying to migrate to v4. But now we are failing because we have no clue how to setup a custom auth (api-key) strategy. In v3 we registered our custom api-key strategy at passport like this:

this.passport.use('apikey', new Strategy(verifier));
// and
app.configure(apikey({ header: config.apiKey.header }));

Is there any documentation how to setup a custom (api-key) authentic

rachit-malvi
rachit-malvi commented Mar 16, 2020

As per the doc on https://github.com/marmelab/react-admin/blob/master/docs/DataProviders.md
"Error Format
When the API backend returns an error, the Data Provider should return a rejected Promise containing an Error object. This object should contain a status property with the HTTP response code (404, 500, etc.). React-admin inspects this error code, and uses it for authentication (in case of 40

lemlich
lemlich commented May 1, 2020

I was unable to figure out how to use figbird because the example was incomplete. It doesn't include the client configuration module. Here's what the code should look like, according to David Luecke

import React, {useState} from 'react';
import {Provider} from 'figbird';
**import client from './feathers';**
import Users from './Notes.js';

function App() {
    return (
        <Provi

Improve this page

Add a description, image, and links to the feathersjs topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the feathersjs topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.