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

In example application, the API key looks like an application id #17

Open
mooreds opened this issue Apr 21, 2020 · 1 comment
Open

In example application, the API key looks like an application id #17

mooreds opened this issue Apr 21, 2020 · 1 comment

Comments

@mooreds
Copy link
Contributor

mooreds commented Apr 21, 2020

In this file:

https://github.com/FusionAuth/fusionauth-netcore-client/blob/master/fusionauth-netcore-client-test/fusionauth-netcore-client-test/test/io/fusionauth/Example.cs

The apiKey is 6b87a398-39f2-4692-927b-13188a81a9a3.

This doesn't look like any of the API keys I've seen from FusionAuth 1.15, maybe it's an older style?

I found it confusing.

@robotdan
Copy link
Member

robotdan commented Apr 22, 2020

We don't ship any API keys - to use this test, you'll need to add that API key to FusionAuth, or modify the
test locally to the API key you have configured.

It is an older "style" - we used to just generated UIIDs. But api keys a free form, they could be bob or fred if you want. :-) That would be a bad API key.

I think the test will also support reading the API key from environment variable if you prefer that method.

Did you want to change something about this? We could document better how to run the tests, add a comment to say change this to whatever your API key is - ideally we would not have people changing that value and checking it in - because it would just keep changing.

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

2 participants