Kenneth C. Arnold

Results 36 comments of Kenneth C. Arnold

https://github.com/KonnorRogers/konnors-ninja-keys looks active but I haven't tried it

This affects a HuggingFace demo: https://huggingface.co/spaces/lvwerra/codeparrot-highlighting which was highlighted in a recent blog: https://huggingface.co/blog/codeparrot The `components.html` workaround seems to work: ``` with col2: st.subheader("Highlighted code") st.markdown('##') html_string = highlight_token_scores(token_list, scores,...

Nevermind, the popup approach doesn't actually work here at all because auth0 tries to use a webmessage response, and Office doesn't allow cross-origin messages from dialogs without its special API...

We've realized that we sometimes want to call `getTokenWithPopup`, and face this same problem.

I think the `loginWithPopup` code flow simply didn't work because the popup tried to `postMessage` to its parent, and Office dialogs need to use `Office.messageParent`. We worked around that using...

To be clear: we're using `loginWithRedirect` as a hacky workaround to actually open a popup using the correct dialog API (see #1274 which has your suggested workaround and a link...