Skip to content

Authentication: login not working #7232

Answered by gtamas
gtamas asked this question in Q&A
Mar 13, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

The solution was to move the binding calls to the bottom of the constructor, after JWTAuthenticationComponent registration.
I don't get this.

There is only one call to:

this.bind(UserServiceBindings.USER_SERVICE)

Does it matter when do I call this function? I thought this is not important. Apparently, this has to be called after JWTAuthenticationComponent bindings are registered.

I don't remember reading anything about this in the docs. What am I missing here?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@achrinza
Comment options

@gtamas
Comment options

Answer selected by frbuceta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants