You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like to protect access via SSO (like Google apps login) to the published ADRs . I don't see an easy way to do that with the current suggested publishing mechanisms other than if you have GitHub Enterprise which seems to be the only way to have private Github pages.
I was thinking about using AWS Amplify hosting and authentication, which would be perfect.
I was able to publish via Amplify Hosting, but I don't see how to use Amplify Auth without modifying the way the next.js stuff works. Would need to create a version that used SSR and add the withAuthenticator stuff into some new code in the next.js generator. I have no experience with next.js though.
The only other way I can think of would be to wrap authentication around the pure static site is with some kind of lambda@edge authenticator like Restrict access to your internal websites on AWS with BeyondCorp But that would be Yak Shaving by the Bike Shed
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Would like to protect access via SSO (like Google apps login) to the published ADRs . I don't see an easy way to do that with the current suggested publishing mechanisms other than if you have GitHub Enterprise which seems to be the only way to have private Github pages.
I was thinking about using AWS Amplify hosting and authentication, which would be perfect.
I was able to publish via Amplify Hosting, but I don't see how to use Amplify Auth without modifying the way the next.js stuff works. Would need to create a version that used SSR and add the withAuthenticator stuff into some new code in the next.js generator. I have no experience with next.js though.
I did find Complete Guide to Amplify and Next.js and Next.js + AWS Amplify: How to Add Authentication to Next.js
The only other way I can think of would be to wrap authentication around the pure static site is with some kind of lambda@edge authenticator like Restrict access to your internal websites on AWS with BeyondCorp But that would be Yak Shaving by the Bike Shed
Beta Was this translation helpful? Give feedback.
All reactions