Skip to content

Is generating bearer token the only way to access API? #400

Answered by drakkan
sergejostir asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

yes this is the only way.

This is not only for security reasons but also for performance, using jwt we can read the user and the permissions from the token, if we use basic auth, as before 2.0, we have to do a data provider query to get permissions for each request. We now have authentication and authorization, before 2.0 we had only authentication, we cannot easily revert back to the old model, sorry

Replies: 3 comments 15 replies

Comment options

You must be logged in to vote
8 replies
@drakkan
Comment options

@jechols
Comment options

@drakkan
Comment options

@drakkan
Comment options

@drakkan
Comment options

Answer selected by sergejostir
Comment options

You must be logged in to vote
1 reply
@drakkan
Comment options

Comment options

You must be logged in to vote
6 replies
@ajl000
Comment options

@ajl000
Comment options

@drakkan
Comment options

@drakkan
Comment options

@ajl000
Comment options

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