Skip to content

Can't create clients over MySQL #3237

Answered by vinckr
orestevip asked this question in Q&A
Aug 31, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello @orestevip
so sorry for the late message!

The error message you're seeing indicates that there's a column missing in your database. Specifically, the authorization_code_grant_access_token_lifespan column is not found. This column is part of the OAuth 2.0 Client configuration and is used to specify the lifespan of the access token for the authorization code grant type.
This issue typically arises when the database migrations have not been applied correctly or fully. You mentioned that you've already run the migration command hydra migrate sql db-url, but the error persists.
Here are a few things you could try:

  • Re-run the migrations: Sometimes, running the migrations again can help. …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@orestevip
Comment options

@vinckr
Comment options

Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants