Skip to content

Should we use HS256 or RS256? #109

Closed
@kiwo12345

Description

@kiwo12345

Should we use HS256 or RS256?
Looking at the docs it says: RS256

I have tried to make a token using: $token = JWT::encode($payload, $key, 'HS256');
But if I later try to use that token when testing on ios I get the error:
FIRAuthErrorDomain Code=17000 "The custom token format is incorrect. Please check the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions