1026 search results for API Platform

... ; } With these setings htt content is served OK but when i type:https://localhost:8443/ as it's expected I hit the privacy error page(Your connectiois not private). I don't know how to do from here. In api-platform docs says ...
Diaconescu
Diaconescu
Read Full Comment
... friendly. So, instead of using Doctrine event system, API Platform advises what they call extension points, in order to stay compatible with both REST and GraphQL: https://api-platform.com/docs/core/extending ...
... the BEARER token, I can access those parameters. *[EDIT: I suspect embedding the Cognito tokens inside the API platform access token isn't the right option - I'll likely change it to return the tokens separately - but ...
... platform-security/tokens-cookies and https://symfonycasts.com/screencast/reactjs/api-authentication and show the simpler way instead of JWT. But if you really need JWT in your project - then look at those course I mentioned ...
... `ApiPlatform\Core\Documentation\Documentation` class. Then you would need to call the core/normal normalizer (this is exactly what we do with our custom normalizer in the https://symfonycasts.com/screencast/api-platform ...
weaverryan
weaverryan
Read Full Comment
... registration. You should be able to do that in API Platform by using an event listener - there's a good example of sending an email whenever a book is created in this section - https://api-platform.com/docs/core/events/#custom ...
weaverryan
weaverryan
Read Full Comment
... plan to add JWT authentication in API Platform in this tutorial? No :). In a future tutorial, we're going to talk about some different authentication schemes beyond the one we show here. That's on purpose - I think JWT ...
weaverryan
weaverryan
Read Full Comment
... `/products`, for example. B) Internally (assuming your `ApiResource` is an entity), this will trigger the "doctrine extensions" system in API Platform... which includes the filters. In short, your custom filter will be ...
weaverryan
weaverryan
Read Full Comment
... days later, and not between the range asked by the user. So what I need is to add some parameters to my API request that I can use to tell API Platform "hey, tell me what activities will be opened at that moment, and join ...
Jean-tilapin
Jean-tilapin
Read Full Comment
... platform-security/tokens-cookies - though I don't have a lot of direct experience with strategies that do *not* use session storage. In some sense, it's super easy: you could create an "api token" system - this tutorial is a ...
weaverryan
weaverryan
Read Full Comment
... I have made a Database and Api Platform and also I have a React Native Mobile App with a login screen and an Api back-end! but, I don't know the flow of Authenticate the User from the app to the Api and in combination ...
weaverryan
weaverryan
Read Full Comment
... lines 61 and 62 of https://symfonycasts.com/screencast/api-platform-extending/collection-relation-setting#codeblock-0bc8575f72). 2) In the test, we send a `PATCH` request to modify user 2. Specifically, we modify the ...
weaverryan
weaverryan
Read Full Comment
Hey Stephane! Hmmm. Ok, so this means that, somehow, our "login()" controller is being executed: https://symfonycasts.com/screencast/api-platform-security/auth-errors#codeblock-97d390e75d without authentication ...
weaverryan
weaverryan
Read Full Comment
... Hello ! I'm using API Platform 2.6, so I can use the DataTransformerInitializerInterface interface. So I tried something like this : ``` public function initialize(string $inputClass, array $context ...
... So, I'm not sure what's different in your case. I also upgraded to the latest api-platform/core version (2.5.) and it still worked. You mentioned: > I've added some dumps, and I see that ApiPlatform ...
weaverryan
weaverryan
Read Full Comment
Resetting the Database Between Tests

... then we log in with the user we just created. A nice, complete story. So... how can we empty the database before each test? There are a few answers, but one common one you'll see in the API Platform world is called ...

4:51
... Hey Hermes, I'm sorry to hear that it's too complex to you. Yes, I agree, API Platform / Messenger component might be a bit advanced for newcomers, but first of all it depends if you really need it or no. Well, I think ...
... then that might be the place to add this logic. The flow internally looks like this: * GET request is made. API Platform calls the data provider for the correct API Resource class. * That class is ultimately ...
weaverryan
weaverryan
Read Full Comment
... "query extension" - https://symfonycasts.com/screencast/api-platform-security/query-extension - to automatically filter this. It doesn't matter that the user is inside of a JWT. It only matters that you fetch the ...
weaverryan
weaverryan
Read Full Comment
Hi all! I have created an API using Symfony 6 and API Platform 3. For the first entities, everything went fine but I have an error now when I am doing a GET collection request for User entity (`api/users`) : > Unable ...