MrPrimate / ddb-importer

Integrate your dndbeyond.com content into Foundry virtual tabletop
MIT License
186 stars 73 forks source link

Cobalt cookie save button freezes / does nothing #375

Open iollmann opened 10 months ago

iollmann commented 10 months ago

Describe the bug I'm unable to save the cobalt cookie for DnD beyond in either the GameSettings : Configure Settings : DDB Importer: A D&D Beyond Integrator : Core Setup or Compendium packs : DDB Muncher. The cookie verification sometimes works. Sometimes it does nothing. (It doesn't fail either.) The save button does nothing, so it is not possible to proceed out of that configuration panel other than to close it without effect.

To Reproduce Steps to reproduce the behavior:

  1. Go to GameSettings : Configure Settings : DDB Importer: A D&D Beyond Integrator : Core Setup or Compendium packs : DDB Muncher in Foundry VTT
  2. log in to D&D beyond with Safari
  3. Select menu item in browser Develop : Show Web Inspector
  4. In web inspector, click the storage tab
  5. Select cookies > www.dndbeyond.com at left in inspector
  6. Filter for CobaltSession in web inspector
  7. Select Item
  8. Cmd-C to copy
  9. paste into the Core Setup or DDB Muncher configuration panel text box for the cobalt cookie
  10. Click save at bottom of panel

Expected behavior The new settings should save. The configuration panel should go away.

Actual behavior The save button depresses but nothing happens after that. The next time I open the configuration panel, the cookie has not been saved.

Environment:

Additional context

I have some DnDBeyond content purchased, but do not own the DMG or monster manual, for example. Been waiting on the 2024 revision.

iollmann commented 10 months ago

If there is a way to edit a config file somewhere to set the cookie, I'd take that as a workaround.

MrPrimate commented 10 months ago

That sounds odd, you've possibly entered the wrong value there. Did the check button say successful? Make sure you are selecting CobaltSession and not cobalt-token.

If the core settings won't open you'll need to reset: https://github.com/MrPrimate/ddb-importer/blob/main/FAQ.md#my-core-settings-screen-wont-open

iollmann commented 10 months ago

It did say I had the right value once. Usually the check button did nothing, however, and the save button always did nothing. I was using CobaltSession.IanOn Aug 24, 2023, at 1:11 AM, Jack Holloway @.***> wrote: That sounds odd, you've possibly entered the wrong value there. Did the check button say successful? Make sure you are selecting CobaltSession and not cobalt-token. If the core settings won't open you'll need to reset: https://github.com/MrPrimate/ddb-importer/blob/main/FAQ.md#my-core-settings-screen-wont-open

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>