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

Set quarkus.oidc.credentials.secret in dev mode #711

Closed
wants to merge 1 commit into from
Closed

Set quarkus.oidc.credentials.secret in dev mode #711

wants to merge 1 commit into from

Conversation

johnaohara
Copy link
Member

Fixes #695 #658

@johnaohara johnaohara self-assigned this Oct 4, 2023
@johnaohara johnaohara added type/bug Something isn't working branch/master The master branch branch/0.8.x The 0.8.x release labels Oct 4, 2023
@jesperpedersen jesperpedersen self-requested a review October 4, 2023 12:28
@jesperpedersen
Copy link
Collaborator

2023-10-04 08:30:23,406 WARN  [io.hyp.too.hor.ser.UserTeamsFilter] (vert.x-eventloop-thread-5) Failed to cache teams for user alice: java.util.NoSuchElementException: SRCFG00014: The config property quarkus.oidc.credentials.secret is required but it could not be found in any config source
	at io.smallrye.config.SmallRyeConfig.convertValue(SmallRyeConfig.java:297)
	at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:241)
	at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:167)
	at io.hyperfoil.tools.horreum.svc.UserServiceImpl.init(UserServiceImpl.java:83)
	at io.hyperfoil.tools.horreum.svc.UserServiceImpl_Bean.doCreate(Unknown Source)
	at io.hyperfoil.tools.horreum.svc.UserServiceImpl_Bean.create(Unknown Source)
	at io.hyperfoil.tools.horreum.svc.UserServiceImpl_Bean.create(Unknown Source)
	at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:113)

@johnaohara
Copy link
Member Author

2023-10-04 08:30:23,406 WARN  [io.hyp.too.hor.ser.UserTeamsFilter] (vert.x-eventloop-thread-5) Failed to cache teams for user alice: java.util.NoSuchElementException: SRCFG00014: The config property quarkus.oidc.credentials.secret is required but it could not be found in any config source
	at io.smallrye.config.SmallRyeConfig.convertValue(SmallRyeConfig.java:297)
	at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:241)
	at io.smallrye.config.SmallRyeConfig.getValue(SmallRyeConfig.java:167)
	at io.hyperfoil.tools.horreum.svc.UserServiceImpl.init(UserServiceImpl.java:83)
	at io.hyperfoil.tools.horreum.svc.UserServiceImpl_Bean.doCreate(Unknown Source)
	at io.hyperfoil.tools.horreum.svc.UserServiceImpl_Bean.create(Unknown Source)
	at io.hyperfoil.tools.horreum.svc.UserServiceImpl_Bean.create(Unknown Source)
	at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:113)

was this in dev mode? what command(s) did you run?

@jesperpedersen
Copy link
Collaborator

mvn clean install

@jesperpedersen
Copy link
Collaborator

Rebased, and merged.

Thanks for your contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch/master The master branch branch/0.8.x The 0.8.x release type/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP 401: Subscription navigation
2 participants