OfficeDev / generator-office

Yeoman generator for building Microsoft Office related projects.
https://www.npmjs.com/package/generator-office
MIT License
819 stars 207 forks source link

No single sign-on option after running yo office #722

Closed jjaronik closed 2 years ago

jjaronik commented 2 years ago

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Expected behavior

Expecting to see an option to select "Office Add-in Task Pane project supporting single sign-on"

Current behavior

No option to select "Office Add-in Task Pane project supporting single sign-on"

Steps to Reproduce

  1. run yo office

Context

The option did show up about a week ago, but I wanted to start my project over. Now the option doesn't show up after running yo office. I've also tried running "yo office --projectType single-sign-on --name "Word Sso Add In" --host word --js true" but it just runs the generator again.

Failure Logs

Screenshot (265)

millerds commented 2 years ago

This was intentionally removed temporarily. The template needs to be updated to conform to current security best practices which will take some time and so it was removed. We hope to add it back soon once we have a chance to update it. In the meantime there is a sample and documentation you can use. https://docs.microsoft.com/en-us/office/dev/add-ins/develop/create-sso-office-add-ins-nodejs?branch=davech-update-node-sso

Note: older versions of generator-office package still have the option listed, but the project output is stripped down to the readme explaining the template is not available.