Q
Q
qwentry2021-06-09 10:44:05
CMS
qwentry, 2021-06-09 10:44:05

Strapi CMS, how to access Admin authorization?

Good day.
When deploying Strapi, I registered the admin, then implemented the user registration and login.
But how to access the admin login through axios?

For a normal user:

const response = axios.post(`${process.env.backendUrl}/auth/local`, {
        identifier: this.formLogin.email,
        password: sha256(this.formLogin.password1)
      })

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question