Can you please check if the CNAME from beans.coffee.com is actually pointing to dev-{number}.okta.com or dev-{number}.customdomains.okta.com which is the URL that Okta provides for the DNS entry.
Regarding the issue itself, in your Okta admin panel, can you please go to Settings >> Customization >> Custom URL Domain and check which is the Configured Custom Domain set up, coffee.com or beans.coffee.com? If you are in Developer Console admin interface, please switch to Classic UI from top left corner.
@dragos Thanks for your reply. My issue here was I totally forgot my domain hosting service adds the base domain onto every CNAME entry; so beans.coffee.com becomes beans.coffee.com.coffee.com. Kicking myself for suffering from this problem again