Message of the day:
Anything GraphQL and SilverStripe related.
likes GraphQL. The same API, but not the hassle of REST or SOAP
personally I'd just use something like Disqus
If I want to move my blog to a static site, say gatsby, how can/should I add e.g. comments to SilverStripe? Anyone solved this already?
though we use this and it seems to work fine
- - class: SilverStripe\GraphQL\Auth\MemberAuthenticator
- priority: 10
does your class meet the req’s from the docs?
> Authenticator classes will need to implement the
> interface, which requires you to define an
authenticate method to return a Member, or false, and
isApplicable method which tells the
Handler whether or not this authentication method
> is applicable in the current request context (provided as an argument).
now I have another issue... I have
- Name: myauth
- - class: MyApp\Authenticator\JWTAuthenticator
- priority: 1
in yaml config, flushed and all... but it doesn't enter
authenticatemethod... what did I do wrong?
I'm piling them up, and will open in the end of the day 🙂
It might be worth filing an issue
I’m not sure… as far as I’m aware, admin uses
@Nemanja Karadzic Looks like the endpoint is specifically marked as being part of the CMS: https://github.com/tractorcow-farm/silverstripe-fluent/blob/98f09213eeeac3fc11663037e402ebbd007928a1/src/Middleware/InitStateMiddleware.php#L23-L32