lexikjwtauthbundle Questions

10

I am tyring to set up symfony4 api JSON login by JWT. The api platform core bundle is installed and I followed this instruction: https://api-platform.com/docs/core/jwt/ I created the custom user pr...
Callboy asked 28/2, 2018 at 8:1

4

Solved

So I'm using Lexik JWT Authentication Bundle (Symfony 2.6) and successful created user and token using this code: $userRegistration = new UserRegistration(); $userRegistration->setPassword($req...
Hamish asked 31/8, 2018 at 4:32

4

I'm starting to use this library https://github.com/lexik/LexikJWTAuthenticationBundle When I use the command php bin/console lexik:jwt:generate-keypair, the console shows this error In GenerateKe...
Edwin asked 18/2, 2021 at 2:23

13

Solved

I provided two versions of the security.yaml file. The second version according to API Platform documentation. API Platform sends to the creation a custom user provider. For the second option secur...
Trotyl asked 7/2, 2018 at 15:52

3

Solved

I want to test this TokenProvider <?php declare(strict_types=1); namespace App\Services\Provider; use App\Repository\UserRepository; use Symfony\Component\HttpKernel\Exception\NotFoundHttpEx...
Prototrophic asked 26/10, 2018 at 11:32

3

Solved

Description When I'm doing a normal request to my symfony server running on http://localhost:8000/api/admin/login_check it returns the desired jwt token. However, when I do it with the functional...

3

I'd like to add the "Authorize" button on Swagger, like described here : https://api-platform.com/docs/core/jwt#documenting-the-authentication-mechanism-with-swaggeropen-api I installed LexikJWTAu...
Orsino asked 20/2, 2018 at 7:54

3

Solved

I've seen similar questions but still can't get this to work. I'm new with Symfony and I'm using Lexik JWT bundle with symfony3 for API authentication, and a login form for web authentication. I ...
Inflationary asked 8/2, 2016 at 9:28

2

Solved

I'm trying to make some experiments with JWT and PHP, but I cannot make the LexikJWTAuthenticationBundle work. I created a Symfony project using composer composer create-project symfony/skeleton m...
Addendum asked 9/11, 2017 at 14:15

1

As the title suggests, I'm going to use Facebook,Google and GitHub authentication alongside JWT authenticator (LexikJWT). Before starting, I want to know how can I use them? is it possible to use ...

3

Solved

I am using LexikJWTBundle for a RESTful API. Login works just fine and I get my token. But when I make a GET request I get a 401 with no content. The Authorization header seems ok since I get this...
Yt asked 15/1, 2015 at 10:43

1

Solved

I have gone through lots of stackoveflow question and articles, but can't find a suitable answer. I'm using fosuserbundle, hwiouthbundle and lexikjwt bundle. I'm developing an api based on symfon...
Matthewmatthews asked 31/1, 2016 at 22:26
1

© 2022 - 2025 — McMap. All rights reserved.