Skip to content

fix: remove personal token types

Artyom Kartasov requested to merge personal-token-types into master

Description

Personal tokens are not verified.

The initial implementation of SE tokens was expected to get the following response from the dblab_token_check function (in particular, the field token_type)

{
  "org_id"
  "is_personal"
  "token_type"
  "valid_until"
}

Ultimately, this was not implemented on the platform side, but the code on the DLE side remained.

The MR removes all token types and skips the type validation

In addition, for the correct operation of personal tokens, make sure that

  • they are activated in the config (enablePersonalTokens) and
  • the correct accessToken is specified.

Related issue

Examples

Checklist

  • MR description has been reviewed
  • MR changes are functionally tested
  • MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed & DOCS ARE ADJUSTED (reference doc, etc)
  • MR does NOT have UI changes OR there are UI changes and they have been reviewed & UX IS REVIEWED

Merge request reports

Loading