Skip to content

generateTenantToken issue related to the JWTKit dependency #296

@brunoocasali

Description

@brunoocasali

I made a huge mistake when I choose vapor/jwt-kit to implement the generate tenant token method changes from Meilisearch version v0.26. It was apparently a good choice, but I discover the problem after trying to publish it.

Vapor JWTKit seemed to be the best choice out there because it had a simple and powerful protocol API and is still maintainable if we compare this package with others like: https://github.com/kylef/JSONWebToken.swift (they seem to be abandoned).

Problem:

Vapor JWTKit has only support for SPM and has no support for CocoaPods (they even have an open issue vapor/jwt-kit#47).

The major issue I'm facing now is what we should do now:

  • Remove JWTKit and do the token generation by hand?
  • Stop publishing to CocoaPods?
  • Remove JWTKit and find another open-source solution out there?
  • Fork Vapor JWTKit and add the support for CocoaPods ourselves?

Planned actions:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions