Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: LexikJwtBudle Symfony 2.8

J.Antonio:

I used LexikjwtBundle on my own and several providers, reading this here's http://ift.tt/1fVgswq

so, how to configure my route?

config.yml:


lexik_jwt_authentication:
private_key_path: '%jwt_private_key_path%'
public_key_path: '%jwt_public_key_path%'
pass_phrase: '%jwt_key_pass_phrase%'
token_ttl: '%jwt_token_ttl%'

Security:


providers:
artibip_users:
id: sm.provider.user
artibip_students:
id: sm.provider.students

firewalls:
login:
pattern: ^/api/login
stateless: true
anonymous: true
form_login:
provider: artibip_users
check_path: /api/login_check
success_handler: lexik_jwt_authentication.handler.authentication_success
failure_handler: lexik_jwt_authentication.handler.authentication_failure
require_previous_session: false

firewalls:
login:
pattern: ^/api/login
stateless: true
anonymous: true
form_login:
provider: artibip_students
check_path: /api/login_check/students
username_path: email
password_path: password
success_handler: lexik_jwt_authentication.handler.authentication_success
failure_handler: lexik_jwt_authentication.handler.authentication_failure
require_previous_session: false

Routing:


api_login_check_students:
path: /api/login_check/students

error is: No route found for "POST /api/login_check/students

if anyone can suggest me a track, Thank's



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: LexikJwtBudle Symfony 2.8

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×