-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netlify CMS - Setup Plumbing and Deploy the initial implementation to staging #470
Comments
@bradystroud @wicksipedia @nvhoanganh The other options include using Azure Active Directory, hosting the site via Netlify or creating our own server similar to this repo or the other ones listed on the Netlify site here. My perspective is that either Azure Active Directory or IdentityServer looks like the way we should handle this. I assume we would host the IdentityServer instance on Azure. Let me know your thoughts. -Piers |
As per my conversation with @nvhoanganh, IDS4 is overkill here since we only want to connect to a GitHub account. Instead we will implement our own client similar to those on the Netlify documentation at https://www.netlifycms.org/docs/external-oauth-clients/ . We should be able to do this using Azure functions because one of the existing clients is a Node.js Azure function and is using Gatsby. |
@kikibianc First, we need to get Christian to transfer the app from his account to Brady's account (at which point we will transfer it to the SSW-Dash service account). |
As per my conversation with @pierssinclairssw, our exisiting OAuth backend is not compatible with NetlifyCMS. https://tylergaw.com/blog/netlify-cms-custom-oath-provider/ The blog also has an example implementation made with Node.JS which I copied and tested. It solved our problem, but to be consistent with the rest of SSW.Rules, we decided it would be better to rewrite it as C# Azure Functions. I am having a problem with the callback function where the script in the response is not working. I also tried similar scripts from the list of other external OAuth clients https://www.netlifycms.org/docs/external-oauth-clients/ but these also did not work
|
cc: @pierssinclairssw
Done - The issue was with the base URL in the config.yml file. see decaporg/decap-cms#1285 (comment) for more info I fixed that issue but have ran into another problem. When I try deploy the Azure Functions, this error occurs Azure/arm-deploy#48 (same issue Azure/azure-cli#18360) |
cc: @pierssinclairssw
This isn't possible as this action https://github.com/Azure/arm-deploy uses the Azure CLI so we can't specify what version we want |
cc: @pierssinclairssw
Done - Netlify is working on staging. 🙂 |
Reopening as to get it working on staging we need to create a prod OAuth app.
|
cc: @pierssinclairssw
Done - The azure functions are ready to be deployed Netlify CMS is working in staging but hasn't been deployed yet Thanks, -Brady |
Currently, Netlify CMS works locally but not in staging.
AB#61096
The text was updated successfully, but these errors were encountered: