Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authenticate method optionally returns a base64 encoded token #151

Closed
jvanderhoof opened this issue Jul 26, 2017 · 4 comments
Closed

Authenticate method optionally returns a base64 encoded token #151

jvanderhoof opened this issue Jul 26, 2017 · 4 comments
Assignees
Milestone

Comments

@jvanderhoof
Copy link
Contributor

jvanderhoof commented Jul 26, 2017

Connected to #1050

@dustinmm80
Copy link
Contributor

What is this in reference to, do you have a link?

@orenbm
Copy link
Member

orenbm commented Jul 30, 2017

Here's one: https://github.com/conjurinc/docs/blob/master/reference/conjur_ce.md#set-and-retrieve-the-value-of-a-secret

As you can see, the end user receives the response and then base 64 encodes it (# token=$(echo -n $response | base64 | tr -d '\r\n')) in order to use it. The question is if we can instead return the token already encoded so the user can use it immediately.

Hope this clarifies.

@kgilpin
Copy link
Contributor

kgilpin commented Jul 31, 2017

We currently do this transformation in the command line with the -H option, but we could add an option to do it server-side as well. That seems like it could be a nice convenience.

@kgilpin kgilpin changed the title Can we return a base64 encoded token rather than requiring the end user to perform the encoding? Optionally return a base64 encoded token from the Authenticate route Aug 1, 2017
@kgilpin kgilpin changed the title Optionally return a base64 encoded token from the Authenticate route Authenticate method optionally returns a base64 encoded token Aug 1, 2017
@orenbm orenbm added this to the R&D Boost milestone May 5, 2020
@liavyona liavyona self-assigned this Jul 23, 2020
@orenbm
Copy link
Member

orenbm commented Sep 14, 2020

@liavyona can this issue be closed? if so, please link to the PR in a comment a close.

@liavyona liavyona closed this as completed Nov 2, 2020
conjur-jenkins pushed a commit that referenced this issue Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants