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

Add note about the Alby Hub and redirect users to the hub #8

Merged
merged 4 commits into from
Jul 23, 2024
Merged

Conversation

bumi
Copy link

@bumi bumi commented Jul 11, 2024

nwc.getalby.com gets depreacted

@bumi bumi requested a review from rolznz July 11, 2024 17:13
echo_handlers.go Outdated Show resolved Hide resolved
@rolznz
Copy link

rolznz commented Jul 12, 2024

@bumi updated banner style a bit, + whole banner is clickable

image

@bumi
Copy link
Author

bumi commented Jul 12, 2024

oh nice!

@@ -659,7 +659,7 @@ func (svc *AlbyOAuthService) CallbackHandler(c echo.Context) error {
}
client := svc.oauthConf.Client(c.Request().Context(), tok)

req, err := http.NewRequest("GET", fmt.Sprintf("%s/user/me", svc.cfg.AlbyAPIURL), nil)
req, err := http.NewRequest("GET", fmt.Sprintf("%s/internal/users", svc.cfg.AlbyAPIURL), nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Have to check if the ALBY_CLIENT_SECRET is the default in deployment repo

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can only make calls to the internal api only using the internal client right?

@bumi bumi merged commit eb6c8b4 into main Jul 23, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants