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

Refresh access token before it expires #1150

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

eleftherias
Copy link
Contributor

Fix #1084

internal/util/helpers.go Outdated Show resolved Hide resolved
@@ -57,6 +57,9 @@ func init() {
RootCmd.PersistentFlags().String("grpc-host", "staging.stacklok.dev", "Server host")
RootCmd.PersistentFlags().Int("grpc-port", 443, "Server port")
RootCmd.PersistentFlags().Bool("grpc-insecure", false, "Allow establishing insecure connections")
RootCmd.PersistentFlags().String("identity-url", "http://localhost:8081", "Identity server issuer URL")
Copy link
Contributor

Choose a reason for hiding this comment

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

great! This allows us to change this later to staging keycloak as a default. And then to production.

@eleftherias eleftherias merged commit c469f2f into mindersec:main Oct 9, 2023
13 checks passed
@eleftherias eleftherias deleted the refresh-token branch October 9, 2023 17:03
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.

Automatically refresh access token from mediator CLI
2 participants