Message of the day:
Anything GraphQL and SilverStripe related.
likes GraphQL. The same API, but not the hassle of REST or SOAP
but alternatively you can configure the web server / cloudfront distribution to pass through specific URLs to a different origin (e.g. your SS server)
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