-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix #93 Do not require nakadi-producer.access-token-uri anymore #97
Conversation
README.md
Outdated
@@ -136,6 +132,19 @@ spec: | |||
privileges: [] | |||
``` | |||
|
|||
If your application is running in Zalando`s stups environment (or you provide tokens via your own oAuth server) it needs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Zalando`s
→Zalando's
(please use apostroph and not backtick here).stups
→STUPS
.
README.md
Outdated
If you do not use the STUPS Tokens library, you can implement token retrieval yourself by defining a Spring bean of type `org.zalando.nakadiproducer.AccessTokenProvider`. The starter will detect it and call it once for each request to retrieve the token. | ||
|
||
#### Authentication in a non-Zalando environment | ||
Please consult the [manual of Zalando's tokens library](https://github.com/zalando/tokens) for more configuration options (like `CREDENTIALS_DIR` or via environment variables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this subsection should be above the one before, as it is also for the Tokens library?
README.md
Outdated
@@ -144,9 +153,7 @@ If your Nakadi installation needs real scopes for submitting events, you can pro | |||
nakadi-producer: | |||
access-token-uri: https://token.auth.example.org/oauth2/access_token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here the access-token-uri is still mentioned.
README.md
Outdated
|
||
#### Authentication in a non-Zalando environment | ||
Please consult the [manual of Zalando's tokens library](https://github.com/zalando/tokens) for more configuration options (like `CREDENTIALS_DIR` or via environment variables. | ||
|
||
Since [July 2017](https://github.com/zalando/nakadi/pull/692), Nakadi (at least in the version operated at Zalando) doesn't require any scopes other than the pseudo-scope `uid` for writing events, [the authorization is instead based on event-type configuration using the service's uid](https://nakadi.io/manual.html#using_authorization). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this could be a subsection named "Scope configuration" or similar?
Did you consider doing also #10 on the way (i.e. recognizing an existing AccessToken bean if there is one, and not an access-token-uri?) |
@ePaul I would keep that seperate for two reasons:
|
60ad44b
to
29ea738
Compare
29ea738
to
7ad0600
Compare
Fixed all your comments, i hope |
👍 |
👍 |
Fix #93 Do not require nakadi-producer.access-token-uri anymore