Skip to content

Confusion around password grant #219

Open
@ekosz

Description

@ekosz

The documentation around the password grant currently states:

To obtain a token you should POST to /oauth/token. You should include your client credentials in the Authorization header ("Basic " + client_id:client_secret base64'd)

But isn't that a security concern? Lets say I embed the base64 of the client_id and client_secret in my JS, couldn't anyone then unbase64 it and get my client_secret? I would have thought that you would only need to send the client_id for identification and the username + password for verification.

According to blogs like this one you're only ever meant send the client_id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions