Spring Boot + OAuth2 Authorziation Server (JDBC) + Axon 4
See original GitHub issueHi together,
i have an JDBC based OAuth2 Authorization / Resource Server with Spring Boot 2.0.6. It is working great. The plan is to have inside that Server an Event that is listening to an UserApprovedEvent and should store it localy.
Communication should be with Axon Server.
I think that relates to the Jdbc connection that is used from the Spring boot app. How can i tell the Axon Framework that it should use the grpc based AxonServer?
The error what i get:
018-11-05 14:06:10.328 ERROR 31677 --- [th.connector]-0] o.h.engine.jdbc.spi.SqlExceptionHelper : Table 'oauth2.token_entry' doesn't exist
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
OAuth 2.0 Implementation with Spring Security and Spring Boot
We will implement Authorization Server, Resource Server, and Client as part of this Tutorial to Completely understand the OAuth2.0 Flow and ...
Read more >OAuth2 Authorization using Jdbc Token Store - Codeaches
Spring Boot OAuth2 Authorization Service: This will be our authorization server. We will be using this service to get the user's access token....
Read more >Spring Authorization Server Tutorial - Apps Developer Blog
In this tutorial, you will learn how to create and configure the new Spring OAuth Authroization Server. Video Demonstration.
Read more >Access Control - OAuth 2.0 - Axon Reference Guide
Access Control - OAuth 2.0. This extension will allow you to use OAuth2 integration (currently only with Google) for authentication in Axon Server....
Read more >OAuth2 Boot - Spring
To ease migration, this project exists as a bridge between the old Spring Security OAuth support and Spring Boot 2.x. 1. Authorization Server....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In most Spring Boot scenarios the
token_entry
would be set for you. We’re currently not exposing the SQL schemas directly, due to database optimization differences I’d say; there is an issue open to provide these though, under number #1258. We do have theGenericTokenTableFactory
which does a fair job in most scenarios, but thePostgresTokenTableFactory
would work best for your scenario I think.You can also check out the
TokenEntry
class of course and derive something yourself.I have come across this issue as well:
So I need to make sure my postgres database has the “token_entry” table defined. But I am unable to find the schema/SQL I need to execute to create the table.
@abuijze / @smcvb: Could you please point me in the right direction?