Skip to content

Auth provider

Please have a look at SemApps documentation on auth provider for more informations.

Basically, you just need to use the “solid-oidc” authType, and you must pass your application URI as clientId.

import { authProvider } from '@semapps/auth-provider';
import dataProvider from './dataProvider';
export default authProvider({
authType: 'solid-oidc',
checkPermissions: true,
allowAnonymous: false,
clientId: 'http://localhost:3001/app'