Skip to content

Commit

Permalink
feat(auth): customizable github SSO url (#1606) (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
dred22 authored Nov 19, 2023
1 parent dd374c9 commit 468df43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@Header(name = "User-Agent", value = "Micronaut")
@Header(name = "Accept", value = "application/vnd.github.v3+json, application/json")
@Client("https://api.github.com")
@Client("${github.api.url}")
public interface GithubApiClient {

@Get("/user")
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ micronaut:
kafka-wrapper:
record-stats: true
expire-after-write: 0s
http:
client:
github.api.url: https://api.github.com

jackson:
serialization:
Expand Down

0 comments on commit 468df43

Please sign in to comment.