microsoft / BCApps

Repository for collaboration on Microsoft Dynamics 365 Business Central applications.
https://microsoft.github.io/BCApps/
MIT License
299 stars 143 forks source link

[BC Idea]: Base64 convert support for SecretText #1855

Closed TKapitan closed 3 weeks ago

TKapitan commented 3 weeks ago

BC Idea Link

https://experience.dynamics.com/ideas/idea/?ideaid=38052cce-d15f-ef11-a4e6-6045bdb4984c

Description

We need a Base64 Converter to support SecretText. We implemented the secrettexts for our REST app that supports all authentication module, but we struggle with basic auth (mostly needed for OAuth2 code flow handshaking) as we can't generate the base64 for details stored in secrettext isolatedstorage.

This method should return again secrettext as it just needs to be passed to httpheader as auth.

I will provide the implementation for this BC Idea

JesperSchulz commented 3 weeks ago

Unfortunately we don't yet have an internal work item created for the BC Idea. If I don't have one tomorrow, I'll manually create one. But as such, the issue is approved!