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

"JWTValidIssuer" and "JWTKey" #18

Open
shahram7 opened this issue Dec 18, 2023 · 3 comments
Open

"JWTValidIssuer" and "JWTKey" #18

shahram7 opened this issue Dec 18, 2023 · 3 comments

Comments

@shahram7
Copy link

shahram7 commented Dec 18, 2023

Hi there,
first of all thank you very much for your time and effort.
could you please explain me about the "JWTValidIssuer" and "JWTKey" ? should we use an external service? if yes? which one is suggested?
btw it would be great and a lot easier if we could pull the docker image from docker hub : (

i didn't change the JWTValidIssuer and JWTKey

Running in selfhosted mode, skipping AzureKeyVault configuration
warn: Microsoft.EntityFrameworkCore.Model.Validation[10400]
      Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
      Storing keys in a directory '/var/lib/librum-server/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
      No XML encryptor configured. Key {34bb44af-cb7e-41fa-8009-ad9fecc6b31f} may be persisted to storage in unencrypted form.
warn: Application.BackgroundServices.DeleteUnconfirmedUsers[0]
      Deleting unconfirmed users
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Overriding address(es) 'http://*:8080'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
      Failed to determine the https port for redirect.

Best Regards,
Shahram

@DavidLazarescu
Copy link
Member

You don't need external services for this. The JWTKey should simply be a long (~35 chars) random string of characters and the issues could e.g. be LibrumServer.

@GregTroar
Copy link

Same error here dunno what to do to make it work

@paulcsiki
Copy link

I have the following values set on my server:

          env:
            - name: JWTValidIssuer
              value: librum.fqdn
            - name: JWTKey
              value: randomandlongstring

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

No branches or pull requests

4 participants