# ãã®ä»ã®ç§å¯æ å ±... # Devise JWTç¨ã®ãã¼ã¹ç§å¯æ å ±ã¨ãã¦å©ç¨ãã devise_jwt_secret_key: abc...xyz 以ä¸ã®Deviseã¤ãã·ã£ã©ã¤ã¶ã追å ãã¾ãã Devise.setup do |config| # ... config.jwt do |jwt| jwt.secret = Rails.application.credentials.devise_jwt_secret_key! end end éè¦ ãã®secretã«ã¯ãã¢ããªã±ã¼ã·ã§ã³ã®secret_key_baseã¨ã¯å¥ã®secretãå©ç¨ãããã¨ãæ¨å¥¨ããã¾ããã¢ããªã±ã¼ã·ã§ã³ã®secret_key_baseã¯ãã·ã¹ãã ã®ä»ã®ã³ã³ãã¼ãã³ãã§æ¢ã«å©ç¨ããã¦ããå¯è½æ§ãããªãé«ããè¤æ°ã³ã³ãã¼ãã³ããåä¸ã®secretãå ±æãã¦ããã¨ãã³ã³ãã¼ãã³ãã®1ã¤ãèå¼±æ§ãæ±ãã¦ããå ´åã®å½±
{{#tags}}- {{label}}
{{/tags}}